Error 13.05 w/ xHarbour.com version

Error 13.05 w/ xHarbour.com version

Postby TimStone » Fri Jun 07, 2013 6: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Error 13.05 w/ xHarbour.com version

Postby Antonio Linares » Sat Jun 08, 2013 6:48 am

Tim,

Please add this code to your main PRG:

Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error 13.05 w/ xHarbour.com version

Postby TimStone » Mon Jun 10, 2013 3: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Error 13.05 w/ xHarbour.com version

Postby Antonio Linares » Mon Jun 10, 2013 8:48 pm

Tim,

Please try it this way:

Code: Select all  Expand view
#pragma BEGINDUMP

#include <hbapi.h>

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

#pragma ENDDUMP
regards, saludos

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

Re: Error 13.05 w/ xHarbour.com version

Postby TimStone » Mon Jun 10, 2013 9: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

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