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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM returning objects

Status
Not open for further replies.

RichardF

Programmer
Oct 9, 2000
239
GB
Is there a way to return a whole object using COM. A good example of this is the Microsoft Collection Object where the object has an item property which returns an object.

Any ideas ?

Regards
Richard French.
 
Look up VARIANT in MSDN. You can get a pointer to your object through COM by defining it as VARIANT.

Hope that helps!

Pat Gleason
gleason@megsinet.net

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top