xsharp.eu • Possibly missing define in Xs2Ado
Page 1 of 1

Possibly missing define in Xs2Ado

Posted: Fri Nov 17, 2023 11:56 am
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.

Re: Possibly missing define in Xs2Ado

Posted: Fri Nov 17, 2023 12:30 pm
by robert
Kees,

If this is missing then add

Code: Select all

DEFINE adConnectUnspecified := -1
to your code

Robert

Re: Possibly missing define in Xs2Ado

Posted: Fri Nov 17, 2023 12:53 pm
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.

Re: Possibly missing define in Xs2Ado

Posted: Mon Nov 20, 2023 10:28 am
by robert
Kees,
Xs2Ado is a compatibility product.
I will update it when needed.

Robert