FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error 13.05 w/ xHarbour.com version
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Error 13.05 w/ xHarbour.com version
Posted: Fri Jun 07, 2013 06:53 PM

Attempting to build with FWH 13.05, using xHarbour ( .com ) version yields the following error:

xLINK: error: Unresolved external symbol '_hb_parns referenced from FiveHMX.lib(HARBOUR.obj)'.

My guess is this might be a typo ?

Can we get a fix ?

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error 13.05 w/ xHarbour.com version
Posted: Sat Jun 08, 2013 06:48 AM
Tim,

Please add this code to your main PRG:

Code (fw): Select all Collapse
#pragma BEGINDUMP

#include <hbapi.h>

HB_ISIZ hb_parns( int iParam, ... )
{
   return ( HB_ISIZ ) hb_parnl( iParam );
}

#pragma ENDDUMP


My guess is that the xhb.com that you are using is not as updated as the free one, or maybe you have an little old version
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error 13.05 w/ xHarbour.com version
Posted: Mon Jun 10, 2013 03:42 PM

Adding that as you said returns the following:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6726)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'asw2013w\asw2012.obj'...
D:\projects\MLS2013\source\asw2012.prg(63): warning: Missing type specifier.
D:\projects\MLS2013\source\asw2012.prg(63): error: Syntax error; found 'hb_parns' expecting ';'.
D:\projects\MLS2013\source\asw2012.prg(63): warning: Missing type specifier.
D:\projects\MLS2013\source\asw2012.prg(65): error: Syntax error; found 'hb_parnl' expecting ';'.
D:\projects\MLS2013\source\asw2012.prg(65): warning: Unreachable code.
D:\projects\MLS2013\source\asw2012.prg(66): warning: Missing return value.

I'm using the xHb Com version from August 2010. It was the last stable version within my subscription ...

I have been trying to move to the Harbour / MSVC 100% but I'm still resolving issues there before I can put it into general circulation. At my test sites, it breaks down over time ... may work fine at first but later it starts locking up. Until then I have to rely on these xHB builds.

Since this is an addition since the last library build, is there a file from the "free" xHb I could add to the link to keep this capability. It was my understanding the "free" version would not work with my xBuilder.

Thanks.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error 13.05 w/ xHarbour.com version
Posted: Mon Jun 10, 2013 08:48 PM
Tim,

Please try it this way:

Code (fw): Select all Collapse
#pragma BEGINDUMP

#include <hbapi.h>

int hb_parns( int iParam, ... )
{
   return ( int ) hb_parnl( iParam );
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error 13.05 w/ xHarbour.com version
Posted: Mon Jun 10, 2013 09:04 PM

That seems to have worked ...

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion