Possibly missing define in Xs2Ado

This forum is the place to discuss issues related to ReportPro, Xs2Ado, Vo2Ado, bBrowser and other 3rd party products
Post Reply
User avatar
Kees Bouw
Posts: 124
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

Possibly missing define in Xs2Ado

Post by Kees Bouw »

In my code, using Xs2Ado, I get the error "XS0103 The name 'adConnectUnspecified' does not exist in the current context". It seems that this define is not implemented in the Xs2Ado.Runtime. If I change adConnectUnspecified to adAsyncConnect I get no error. I have searched in Xs2Ado.Runtime.dll with a hex editor and adAsyncConnect is found but adConnectUnspecified is not.
User avatar
robert
Posts: 4551
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Possibly missing define in Xs2Ado

Post by robert »

Kees,

If this is missing then add

Code: Select all

DEFINE adConnectUnspecified := -1
to your code

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Kees Bouw
Posts: 124
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

Re: Possibly missing define in Xs2Ado

Post by Kees Bouw »

Robert,

Thank you, I just thought that you may want to check if there are any other defines missing and update Xs2Ado. Is Xs2Ado still being maintained or is it a "dead" product with no future updates?

Kees.
User avatar
robert
Posts: 4551
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Possibly missing define in Xs2Ado

Post by robert »

Kees,
Xs2Ado is a compatibility product.
I will update it when needed.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply