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
Ads link errors using REQUEST _ADS xHarbour 99.51 FTDN Nov05
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: