Ads link errors using REQUEST _ADS xHarbour 99.51 FTDN Nov05

Ads link errors using REQUEST _ADS xHarbour 99.51 FTDN Nov05

Postby Rick Lipkin » Mon Nov 21, 2005 8:10 pm

To All

For anyone using the latest xHarbour from the Nov FTDN FWH27 build and linking in ADS .. you will need to change your code to use the ANNOUNCE command on the ADS line and not REQUEST .. if you do not, you will get this error ... Error: Unresolved external '_HB_FUN__ADS'

Regards,
Rick Lipkin
SC Dept of Health, USA

IF xRDD = "ADS"

ANNOUNCE _ADS
* REQUEST _ADS // does not work with latest xharbour cvs
rddRegister ( "ADS", 1 )
rddsetdefault( "ADS" )
SET SERVER REMOTE
SET FILETYPE to CDX

cADS := " Remote 32 bit -b"

ELSE

cADS := " Local 32 bit -b"

REQUEST DBFCDX
REQUEST DBFFPT
rddsetdefault( "DBFCDX" )

ENDIF

SET DEFA to ( cDEFA )
cRDD := dbSETDRIVER()+cADS
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby Rick Lipkin » Mon Nov 21, 2005 8:18 pm

To All

Got this responce from Ron in the xHarbour NG ..

Rick,

> I just got the Nov FWH27 FTDN that has the latest CVS version of xHarbour.
> Somewhere I remember seeing that there was a change to the REQUEST and
> ANNOUNCE commands.
>
> I just went to re-compile one of my ADS applications and I got the
> following link error :
>
> C:\BORLAND\BCC55\BIN\ilink32 @makefile.lnk
> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
> Error: Unresolved external '_HB_FUN__ADS' referenced from
> C:\FOX\VEHFWH\MAIN.OBJ

No change to the command, it's just that _ADS was renamed ADS, so just
change:

REQUEST _ADS

to:

REQUEST ADS

> Knowing that I had seen this .. I changed the REQUEST _ADS line to
> ANNOUNCE _ADS and my app linked properly and runs just fine

Please restore as per above.

> Just curious .. I have several other apps that just use DBFCDX and they
> seem to compile properly .. for the sake of sinplicity .. should I change
> all my REQUEST statements to ANNOUNCE ??

Nop.

Ron
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby Antonio Linares » Mon Nov 21, 2005 10:03 pm

Rick,

Thanks for your feedback,
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests