Hi

> I have read the information at MSDN relative to VARIANT. But I found it's
not easy
> for me to get a complete view of it,especially the use of it. I only can
found the
> basic knowledge of it. What I want to know is how to use VARIANT. For
example how
> to change VARIANT to char or BYTE, or how to use it to send and receive
data from
> an ActiveX, or another things.

>From memory VARIANT is simple a struct containing data members of various
different types. All you have to do is set the member which has the right
type for the variable you want to pass to or from your COM object and then
set vt to the appropriate value so that when the VARIANT is used the using
code knows which element to look at. I don't think there is much if anything
else to it.

> I not only want to get the interface of it from MSDN, but also want know
how do the
> relative functions and classes work and why. Because the knowledge in MSDN
can't
> give me what I want. So please help me to get completely research on it
and the
> relative functions and classes.

This is getting silly. Have you discovered google yet?

We're not providing a service. This is a self help group. Google to look for
code that does what you want. Supply some code which you've tried and if it
doesn't work we'll try and see why. If you need a greater level of support
hire a contractor. I can give you some names (one of which isn't me).

Regards
Paul

Paul Grenyer
email: [EMAIL PROTECTED]
web: http://www.paulgrenyer.co.uk
Aeryn: http://www.aeryn.co.uk

Nobody on road, nobody on the beach….



_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to