This is not OUT OF THE BOX SOLUTION (?)

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
User avatar
robert
Posts: 4388
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

This is not OUT OF THE BOX SOLUTION (?)

Post by robert »

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:

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
Parameter 4 is declared:

Code: Select all

astOpenTableInfo ref ADS_MGMT_TABLE_INFO
However that should be

Code: Select all

astOpenTableInfo AS ADS_MGMT_TABLE_INFO
Because ADS_MGMT_TABLE_INFO is a structure (VOSTRUCT in X#).

I'll create a lib and will upload it asap

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
wriedmann
Posts: 3700
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

This is not OUT OF THE BOX SOLUTION (?)

Post by wriedmann »

Hi Robert,
if you need it, I can prepare you a remote desktop session where you can access a ADS server (I have buyed a 2 user server for internal development purposes).
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
rjpajaron
Posts: 364
Joined: Fri Nov 06, 2015 12:01 am

This is not OUT OF THE BOX SOLUTION (?)

Post by rjpajaron »

Thanks Robert...
Jamal
Posts: 315
Joined: Mon Jul 03, 2017 7:02 pm

This is not OUT OF THE BOX SOLUTION (?)

Post by Jamal »

Rene,

Have you tried the Advantage .NET Data Provider?

https://devzone.advantagedatabase.com/d ... spx?Key=20
User avatar
rjpajaron
Posts: 364
Joined: Fri Nov 06, 2015 12:01 am

This is not OUT OF THE BOX SOLUTION (?)

Post by rjpajaron »

Hi Jamal,

I will try 2.7 today if it is OK.

ADS .NET provided none that I know of that deals like what we have on ACE32 Management API. I think, this is purely an Win32 API, none of it is being supported in ADS .NET data provider libraries.

--

Rene
Post Reply