__int64 for COM Automation?
-
It is known that COM Automation Types does not support the type:
IDL type Variant type OLEAutomation Description __int64 VT_I8 No 8-byte signed integer
Double (VT_R8) could be used as no mathematical operations are intended only to get_value \ set_value:
IDL type Variant type OLEAutomation Description double VT_R8 Yes 8-byte real
But there's a fear that if you have to put these values in the file or print it will be transformed into..._int64, it will be very problematic in some JScript/VBScript. On the other hand, use the lines of some form of solution in this case.
What's the solution?
-
If there's no type of length, we need to collect it from the smaller ones. As far as I know, Variant knows the type Byte that matches unsgined char. I mean, you can use eight bikes, and you can get the type on the target platform-- it's the technology-- there's a shifting and hit operation, https://stackoverflow.com/questions/10378246/bit-shift-when-there-is-no-bit-shift-operator ♪ https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators ♪