November 24th, 1999, 05:34 AM
Is there any trick to get the address/pointer of/to a long variable ?
(like &-operator in C)
Thanks
(like &-operator in C)
Thanks
|
Click to See Complete Forum and Search --> : pointer to long var November 24th, 1999, 05:34 AM Is there any trick to get the address/pointer of/to a long variable ? (like &-operator in C) Thanks Lothar Haensler November 24th, 1999, 06:10 AM use the undocumented VarPtr function in VB November 24th, 1999, 09:04 AM Thank you Lothar. Do you know another undocumented function for the '*' or '->' C-operator ? Lothar Haensler November 24th, 1999, 09:33 AM no, but having retrieved the address of the variable or object (ObjPtr), you can use CopyMemory API to access that memory (very carefully :-)) codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |