It is known that in COM Automation Types the type is not supported:
IDL type Variant type OLEAutomation Description __int64 VT_I8 No 8-byte signed integer It would be possible to use double (VT_R8) since no mathematical operations are intended only for the function get_value \ set_value:
IDL type Variant type OLEAutomation Description double VT_R8 Yes 8-byte real But there are fears that if you need to output these values to a file or to print, then convert to __int64 it will be very problematic in some kind of JScript \ VBScript. On the other hand, using strings is some kind of clumsy solution in this case.
What is the solution in this case?
JScript\VBScriptsupport required? Say,powershellin terms of COM-interaction knows how much more, even though it is hidden deeper - Pavel Mayorov