• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

_variant_t class?

how can I set a _variant_t class to integer variable?
like this:
int i;
i = variantClass;
but this give me an error?
Can any body help me?!
0
MohdAsalah
Asked:
MohdAsalah
1 Solution
 
danelroismanCommented:
_variant_t V;

V.iVal = 5;
int i = V.iVal;


Enjoy!

daniel
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now