ADS Local Server

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

ADS Local Server

Post by Jeff Barnes »

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 12.01, xHarbour 1.2.1, Bcc582)
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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

G. N. Rao.
Hyderabad, India
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

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 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Jeff,

Try this:

implib.exe ace32.lib ace32.dll
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Thanks Antonio.
Thanks,
Jeff Barnes

(FWH 12.01, xHarbour 1.2.1, Bcc582)
Post Reply