isladogs
MVP / VIP
- Local time
- Today, 11:29
- Joined
- Jan 14, 2017
- Messages
- 18,698
I've never seen the API in post #1 before and have no idea of its purpose.
However CoPilot indicates the 64-bit compatible version is:
You'll need to test to see if that works.
I wonder whether using FSO would achieve the same outcomes.
@arnelgp wrote:
Remember that adding PtrSafe will allow the code to compile but that doesn't necessarily mean it will work
However CoPilot indicates the 64-bit compatible version is:
Code:
Public Declare PtrSafe Function ezGetFileInfo Lib "msaccess.exe" Alias "#56# (FSI As ezGetFileInfo, ByVal fOpen As Integer) As LongPtr
You'll need to test to see if that works.
I wonder whether using FSO would achieve the same outcomes.
@arnelgp wrote:
I've no idea what he meant but you need PtrSafe on ALL APIs used in 64-bit Access together with conversion of handles/pointers to LongPtryou only need to add PtrSafe if there is no Window handle on the function/sub:
Remember that adding PtrSafe will allow the code to compile but that doesn't necessarily mean it will work
Last edited: