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

How to save a variable of a personnal type in a Variant

Status
Not open for further replies.

moiss

Programmer
Jun 25, 2002
7
VE
Hi,

I developed a Matrix class and I would like to save an object of this type in a VARIANT.

//myMatrix is an Matrix object
Matrix myMatrix;

//what i wanna do is:
VARIANT myVariant;
myVariant.???=myMatrix;

By what must i replace "???", in which field of myVariant will be save myMatrix?
Thanks a lot.
Moiss'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top