site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com In message <WM5257A1A31158427aA6F64CE631ACF26E@spsoftindia.com>, "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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com