Page 1 of 1
Missing define for ADS_LONGLONG
Posted: Fri Apr 28, 2023 8:24 pm
by steveferrandino
Hi,
Starting my conversion from vulcanRT and AdvantageRDD
There appears to be a missing define for ADS_LONGLONG.
In the advantageRDD ACE it's defined as: public const ushort ADS_LONGLONG = 19;
FYI, conversion is going *much* easier than I thought it would. congrats!
Steve Ferrandino
Missing define for ADS_LONGLONG
Posted: Sat Apr 29, 2023 2:48 pm
by Chris
Hi Steve,
Thanks, I see in X# it's defined as
Code: Select all
PUBLIC CONST ADS_INT64 := 19 AS WORD /* 8 byte integer */
Does the vulcan rdd define both with the same value?
ps. Glad to hear that conversion is going well!
.
Missing define for ADS_LONGLONG
Posted: Sat Apr 29, 2023 3:14 pm
by robert
Steve,
That define is in the VO ADS AEF file with the following comment
define ADS_LONGLONG := 19 /* 8 byte integer. Deprecated. Use ADS_LONGINT instead. */
Robert
Missing define for ADS_LONGLONG
Posted: Mon May 01, 2023 2:15 pm
by steveferrandino
Ah. great. thanks for checking.
FWIW, these are the only things I had to change (so far) in the move to X# runtime:
#using AdvantageClientEngine -> #using XSharp.ADS
ACE.CallbackFn{} -> XSharp.ADS.CallbackFn{}
Anything using DBFAXS to the function call (e.g., DBFAXS.AX_AXSLocking() -> AX_AXSLocking())
drop System.Reflection.Assembly.Load( "AdvantageRDD" )
VODBRddSetDefault( "Advantage.adsadt" ) -> VODBRddSetDefault( "adsadt" )
Thanks,
SteveF