FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADS with FWH 13, Harbour and MSVC 2010
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
ADS with FWH 13, Harbour and MSVC 2010
Posted: Mon Jun 24, 2013 09:54 PM

( 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

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: ADS with FWH 13, Harbour and MSVC 2010
Posted: Mon Jun 24, 2013 11:06 PM

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

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: ADS with FWH 13, Harbour and MSVC 2010
Posted: Mon Jun 24, 2013 11:43 PM

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

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion