Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
- Subject: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
- From: email@hidden (Peter Seebach)
- Date: Mon, 08 May 2006 03:59:03 -0500
In message <email@hidden>, "Gaurav Kumar"
writes:
>I want Variant type structure as is in C which can accept any data type.
This can't be done in C. I'm not even sure what you're talking about, but
there's nothing similar in C. You could do templates in C++.
>VARIANT V;
>V.vt = VAR_INT;
>It gives error as VAR_INT is not declared and vt is of non type void *.
Okay, you're hosed. This is not a feature of the language.
-s
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden