Is there any trick to get the address/pointer of/to a long variable ?
(like &-operator in C)
Thanks
Printable View
Is there any trick to get the address/pointer of/to a long variable ?
(like &-operator in C)
Thanks
use the undocumented VarPtr function in VB
Thank you Lothar.
Do you know another undocumented function for the '*' or '->' C-operator ?
no, but having retrieved the address of the variable or object (ObjPtr), you can use CopyMemory API to access that memory (very carefully :-))