FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADS Local Server
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM

ADS Local Server

Posted: Sat Jan 05, 2008 05:02 AM

Hi Everybody,

I am trying to add in the ADS Local Service to my app and I get the followinf error:

Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHARBOUR\LIB\RDDADS.LIB|adsfunc

I think I have everything setup...

RddADS.lib and Ace32.lib (from the xharbour\lib directory) are linked in.

Ace32.dll, AdsLoc32.dll and Axcws32.dll are in the same directory as my exe

At the start of my app I have:

Request ADS
RddSetDefault(ADS)
AdsSetServerType(7)
AdsSetFileType(1)

Any Ideas?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

ADS Local Server

Posted: Sat Jan 05, 2008 06:39 AM

You have to link with the correct version of ace32.lib

Regards



G. N. Rao.

Hyderabad, India
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM

ADS Local Server

Posted: Sat Jan 05, 2008 07:22 PM

I tried generating the ACE32.LIB file using:

lib /def:ace32.def /out:ace32.lib

But I get this error:

LIB : fatal error U1151: syntax error : illegal file specification

I have also tried with removing the .dll ext from within the .def file

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

ADS Local Server

Posted: Sat Jan 05, 2008 10:54 PM

Jeff,

Try this:

implib.exe ace32.lib ace32.dll

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM

ADS Local Server

Posted: Sun Jan 06, 2008 01:52 PM

Thanks Antonio.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion