Data Type Conversion Functions [Automation]
The files Oleaut32.dll (for 32-bit systems) and Ole2disp.dll (for 16-bit systems) provide the following low-level functions for converting variant data types. Higher-level variant manipulation functions (such as VariantChangeType) use these functions, but they can also be called directly.
From type | Function |
|---|---|
unsigned short | |
unsigned long | |
INT64 | |
char | |
usigned char | |
short | |
long | |
INT64 | |
float | |
double | |
CURRENCY | |
DATE | |
OLECHAR FAR* | |
IDispatch FAR* | |
BOOL |
Note |
|---|
If these functions are passed NULL pointers, there will be an access violation and the program will crash. It is your responsibility to protect these functions against NULL pointers. |
Note