This is not OUT OF THE BOX SOLUTION (?)
Posted: Mon Oct 26, 2020 12:10 pm
Rene,
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:
Parameter 4 is declared:
However that should be
Because ADS_MGMT_TABLE_INFO is a structure (VOSTRUCT in X#).
I'll create a lib and will upload it asap
Robert
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