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



© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrev