arnelgp
..forever waiting... waiting for jellybean!
- Local time
- Today, 15:03
- Joined
- May 7, 2009
- Messages
- 19,790
attached is the 64 bit declarations of windows API.
since many in the forum wanted to convert some VBA with API to correct
declaration.
if the API you are searching is not on the list, it's probably did not came together with Windows, meaning from a third party software you installed.
template for coding in your VBA:
changing the declaration does not guarantee that the sub/function will work.
you have to check each variable declarations on each line of code.
making sure it adhere or same as declared in your API declaration.
since many in the forum wanted to convert some VBA with API to correct
declaration.
if the API you are searching is not on the list, it's probably did not came together with Windows, meaning from a third party software you installed.
template for coding in your VBA:
Code:
#if VBA7
' newer version of access (A2010 and newer)
#if Win64
' if you are running a 64 bit office
' should use PtrSafe and LongPtr
#else
' 32 bit
' should use PtrSafe and Long
#end if
#else
' older version
' without PtrSafe and with Long
#end if
changing the declaration does not guarantee that the sub/function will work.
you have to check each variable declarations on each line of code.
making sure it adhere or same as declared in your API declaration.