Page 1 of 1

ADS with FWH 13, Harbour and MSVC 2010

PostPosted: Mon Jun 24, 2013 9:54 pm
by TimStone
( Moved from another thread on a different topic )

I am using the following:
FWH 13.05
Microsoft Visual C 2010
Harbour ( Antonio's MSVC build dated 4/4/2013 )

For the Advantage Database Server, I have included rddads.lib and ace32.lib but they were not included in the build.

They do work with ADS 10 / 11 but not with 7 or 8.

Supposedly there is a more recent set of files, but I don't have access to them, and these are supposedly compatible with all ADS versions, 6 through 11. I would appreciate obtaining them ASAP so I can test and see if they resolve my problem.

Tim

Re: ADS with FWH 13, Harbour and MSVC 2010

PostPosted: Mon Jun 24, 2013 11:06 pm
by norberto
Tim, are you compile com correct flags :

SET ADS_LIB_VERSION=810 <<<< set for you version
SET HB_DIR_ADS=\_Lib\Ace\81038

and in rddads check if detect you version:

#if 0
/* Compatibility ACE version override.
Usage is discouraged and unnecessary unless we want to
override autodetection. For the latter, ADS_LIB_VERSION
is recommended. If ADS_LIB_VERSION is #defined,
ADS_REQUIRE_VERSION will be ignored. [vszakats] */
#if !defined( ADS_LIB_VERSION )
#if ADS_REQUIRE_VERSION == 5
#define ADS_LIB_VERSION 500
#elif ADS_REQUIRE_VERSION == 6
#define ADS_LIB_VERSION 600
#elif ADS_REQUIRE_VERSION == 7
#define ADS_LIB_VERSION 700
#elif ADS_REQUIRE_VERSION == 8
#define ADS_LIB_VERSION 810
#elif ADS_REQUIRE_VERSION == 9
#define ADS_LIB_VERSION 900
#endif
#endif
#endif

/* Make sure to not allow a manual override requesting
a higher version than the one of ACE. [vszakats] */
#if !defined( ADS_LIB_VERSION )
#define ADS_LIB_VERSION _ADS_LIB_VERSION
#elif ADS_LIB_VERSION > _ADS_LIB_VERSION
#undef ADS_LIB_VERSION
#define ADS_LIB_VERSION _ADS_LIB_VERSION
#endif


Regards

Re: ADS with FWH 13, Harbour and MSVC 2010

PostPosted: Mon Jun 24, 2013 11:43 pm
by TimStone
With xHarbour, I have one version that works for all of them. I don't have to compile for different versions of ADS. That would be a nightmare.

I do not have any of the source files for ADS in Harbour so I also can't rebuild libraries.

Tim