Address of Variables
Most of the time you will not need to obtain any low level information about your variables.
However there are a few Windows API functions that require the memory address of a variable.
When you want to use one of these API functions the following list of VB functions will prove useful:
VarPtr - returns the address of a variable
VarPtrArray - returns the address of an array
VarPtrStringArray - returns the address of an array string
StrPtr - returns the address of the UNICODE string buffer
ObjPtr - returns the pointer to the interface referenced by an object variable
These functions are not supported and are not documented
Knowledge Base Article (199824)
© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited