Solved

_variant_t class?

Posted on 2001-09-09
1
397 Views
Last Modified: 2010-05-19
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
Comment
Question by:MohdAsalah
1 Comment
 
LVL 2

Accepted Solution

by:
danelroisman earned 20 total points
ID: 6468224
_variant_t V;

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


Enjoy!

daniel
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
returning a dereferenced pts in C++ 10 149
IdTCPClient1->Disconnect(); not working 3 66
Problem with SqlConnection 4 168
Precision Problem in C++ 7 31
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now