LongPtr
This was added in Office 2010 (VBA 7.0)
This is not a data type in its own right as it translates into either Long or LongLong depending on the environment.
If the environment is 32 bit then this translates into a Long data type.
If the environment is 64 bit then this translates into a LongLong data type..
This data type should be used for pointers and handles.
Dim myLongPtr As LongPtr
Conversion Function
The CLNGPTR function returns an expression converted to a LongPtr data type.
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext