Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set references & declaring statements

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

Anyone knows what the diference between set a reference to a dll so one can use it´s properties and methods and to declare a dll procedure?

thank you
 
If you can SET a reference to it from a GetObject, CreateObject or New classname then it is a COM object. If you can't then you can only access it, maybe, via a Declare knowing exactly what to pass to it.
 
Setting a reference is used to access COM objects while using a Declare statement is only used to access publically exported APIs/Functions that are not exposed through a COM interface. - Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top