>       I have to work with large numbers (more the 10^15), and for
> that reason I
> need to use the long double data type which supports 10^19. The
> problem is I
> that I receive theese values in variant variables, I need to precess them,
> and then save them back into varinats. I didn't find any way to
> convert from
> Variant -> long double -> Variant.
>       Is there any way ?

To my knowledge VARIANT does not support long doubles; I would guess,
therefore, that the .vt type is VT_BYREF + something, and it is pointing to
the value rather than having the value in the variant directly (for example,
a standard double would be pointed to using VT_BYREF | VT_R8, and you would
access the pointer to that double via the variant's pdblVal member).

It would be best to check the .vt type against knonw types first, then
you'll get an idea of how the value was packed.

--
Jason Teagle
[EMAIL PROTECTED]



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

Reply via email to