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!

assign to VARIANT type

Status
Not open for further replies.

sumedha77

Programmer
Sep 1, 2000
7
LK
hi,
how do u assign classes to a VARIANT data type in vc++6.
also how do u retrive the assigned class.
for example
I have a class
MyClass myclass;
myclass.x="hello";

now how do u assign myclass to a VARIANT type.

thank you
sumedha77
 
Look in the MSDN Library under VARIANT or its support class _variant_t.

Hope that helps! [sig]<p>Pat Gleason<br><a href=mailto:gleason@megsinet.net>gleason@megsinet.net</a><br><a href= > </a><br> [/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top