Missing define for ADS_LONGLONG

This forum is meant for questions and discussions about the X# language and tools
Post Reply
steveferrandino
Posts: 33
Joined: Tue Jan 05, 2016 8:00 pm

Missing define for ADS_LONGLONG

Post 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
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Missing define for ADS_LONGLONG

Post 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!

.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
User avatar
robert
Posts: 4292
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Missing define for ADS_LONGLONG

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
steveferrandino
Posts: 33
Joined: Tue Jan 05, 2016 8:00 pm

Missing define for ADS_LONGLONG

Post 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
Post Reply