Hi all,
I want Variant type structure as is in C which can accept
any data type.
Variant is used in MFC Class. I want to use Variant on MAC
OSX with gcc 4.0 and xcode 2.2.
Is there any replacement for Variant is on Mac or we can use
them same as in MFC Classes.
I have implemented Variant structure on MAC but it gives
error
VARIANT V;
V.vt = VAR_INT;
It gives error as VAR_INT is not declared and vt is of non
type void *.
The above code on Windows 32 environment works properly
without any error.
If I can use Variant on MAC, please provide one or two
examples or some other thing that I can use to accept any primitive data type
in a single data type.
Do mail me if you require any more information for above
mail.
With regards,
Gaurav