Quote Originally Posted by VladimirF View Post
You shouldn't cast VARIANT, just use the correct member of that union. What is its VARTYPE vt?
It's VT_R4 (index 4 in the union) - 4-byte real.

Regards,
Zachm