I had a quick look at the Advantage prototypes for their AdsMg functions, and there are a couple of errors in the prototypes.
VO ignores these errors but the errors make it impossible to compile this code in X#.
For example:
Code: Select all
_dll FUNC AdsMgGetOpenTables( hMgmtHandle as DWORD, pucUserName as psz, usConnNumber as word, astOpenTableInfo ref ADS_MGMT_TABLE_INFO, pusArrayLen ref word, pusStructSize ref word ) as DWORD PASCAL:ACE32.AdsMgGetOpenTables
Code: Select all
astOpenTableInfo ref ADS_MGMT_TABLE_INFO
Code: Select all
astOpenTableInfo AS ADS_MGMT_TABLE_INFO
I'll create a lib and will upload it asap
Robert