Page 1 of 1

ADS Local Server

PostPosted: Sat Jan 05, 2008 5:02 am
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?

PostPosted: Sat Jan 05, 2008 6:39 am
by nageswaragunupudi
You have to link with the correct version of ace32.lib

PostPosted: Sat Jan 05, 2008 7:22 pm
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

PostPosted: Sat Jan 05, 2008 10:54 pm
by Antonio Linares
Jeff,

Try this:

implib.exe ace32.lib ace32.dll

PostPosted: Sun Jan 06, 2008 1:52 pm
by Jeff Barnes
Thanks Antonio.