Well, in the old C++, automation days it was VT_I4...of course, longs are 64
bits in the CLR, so it seems you will lose precision in interop cases.

VT_R8 is a double precision floating point.

-----Original Message-----
From: Mark A. Gregory [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Variant VAR type


I'm lost with converting a LONG to a Variant type
Should it be VT_R8               [V][T][P][S]      // 8-byte real.

Thank you
Mark

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to