I am attempting to call the Commit API from an Access VBA code module.
Calling CmtInitDbQryDll returns an undocumented error code of 1024.
Calling CmtGetDescriptionByStatus for that error returns either a blank or "Eror ADV File". (Yes, Eror not Error.)
Background info:
App name is CSPBilling. DB path is known to work in other custom .Net apps that are also running successfully on this workstation.
Regarding the API DLL files: this was a major hassle, I tried locating the files that are referenced as "C:\DemoVBA\ThirdParty\UserDev" in all the code samples to numerous places on my workstation. The only way I could even make the initial CmtInitDbQryDll call was to copy the API DLL files to the "CurDir()" folder which on my workstation is "C:\Users\cyellick\Documents". This doesn't seem right but at least I could make the call.
VBA is version 7.1 running in Access 2016 on Windows 10 Pro 64-bit.
-- Craig
Calling CmtInitDbQryDll returns an undocumented error code of 1024.
Calling CmtGetDescriptionByStatus for that error returns either a blank or "Eror ADV File". (Yes, Eror not Error.)
Background info:
App name is CSPBilling. DB path is known to work in other custom .Net apps that are also running successfully on this workstation.
Regarding the API DLL files: this was a major hassle, I tried locating the files that are referenced as "C:\DemoVBA\ThirdParty\UserDev" in all the code samples to numerous places on my workstation. The only way I could even make the initial CmtInitDbQryDll call was to copy the API DLL files to the "CurDir()" folder which on my workstation is "C:\Users\cyellick\Documents". This doesn't seem right but at least I could make the call.
VBA is version 7.1 running in Access 2016 on Windows 10 Pro 64-bit.
-- Craig
Comment