VARIANT CONVERSION TO SPECIFIC CLASS TYPE POINTER
-
how to convert VARIANT to a specific class type pointer. Mallikarjun
-
how to convert VARIANT to a specific class type pointer. Mallikarjun
Why do you want to do such a thing ? How did you 'initialize' your VARIANT ? And BTW, don't use VARIANT, that's bad ;P
Cédric Moonen Software developer
Charting control [v1.1] -
Why do you want to do such a thing ? How did you 'initialize' your VARIANT ? And BTW, don't use VARIANT, that's bad ;P
Cédric Moonen Software developer
Charting control [v1.1]Cedric Moonen wrote:
And BTW, don't use VARIANT, that's bad
Why are
VARIANT
s bad?!?Steve
-
Cedric Moonen wrote:
And BTW, don't use VARIANT, that's bad
Why are
VARIANT
s bad?!?Steve
Yes you're right, I was a little bit too 'extreme' in my answer. In fact, it is because I saw people using it to circumvent C++ type safety (to "make life easier"). That was quite scary...
Cédric Moonen Software developer
Charting control [v1.1] -
Yes you're right, I was a little bit too 'extreme' in my answer. In fact, it is because I saw people using it to circumvent C++ type safety (to "make life easier"). That was quite scary...
Cédric Moonen Software developer
Charting control [v1.1]Cedric Moonen wrote:
I saw people using it to circumvent C++ type safety (to "make life easier"). That was quite scary...
I agree with that. I've seen this before too. Specifically people casting pointers to C++ classes to
long
s and storing it in aVARIANT
and passing it through COM interfaces; talk about missing the point of COM.Steve