ADS Local Server

ADS Local Server

Postby Jeff Barnes » Sat Jan 05, 2008 5: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby nageswaragunupudi » Sat Jan 05, 2008 6:39 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10321
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Jeff Barnes » Sat Jan 05, 2008 7: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby Antonio Linares » Sat Jan 05, 2008 10:54 pm

Jeff,

Try this:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41456
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jeff Barnes » Sun Jan 06, 2008 1:52 pm

Thanks Antonio.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 134 guests