FWH / xHarbour.com Unresolved external symbol

FWH / xHarbour.com Unresolved external symbol

Postby patdriscoll » Fri Jun 29, 2012 12:58 am

Hello All,

I have just installed the latest xHarbour (non Beta) release from xHarbour.com and FWH 12.05 and have the following message when I compile:

xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GlobalMemoryStatusEx referenced from FiveHCM.lib(MEM.obj)'.
xLINK: error: Unresolved external symbol '__chkstk referenced from FiveHCM.lib(C5CNEW.obj)'.

NOTE: I have perfomed a clean build. Worls with my old (very old) version of FWH and xHB.

Can anyone please advise a solution?

Cheers,

Pat
Pat Driscoll
Australia
User avatar
patdriscoll
 
Posts: 16
Joined: Tue May 19, 2009 7:28 pm

Re: FWH / xHarbour.com Unresolved external symbol

Postby patdriscoll » Fri Jun 29, 2012 12:59 am

Thanks for your email Antonio.
Pat Driscoll
Australia
User avatar
patdriscoll
 
Posts: 16
Joined: Tue May 19, 2009 7:28 pm

Re: FWH / xHarbour.com Unresolved external symbol

Postby Antonio Linares » Fri Jun 29, 2012 1:02 am

regards, saludos

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

Re: FWH / xHarbour.com Unresolved external symbol

Postby patdriscoll » Fri Jun 29, 2012 1:23 am

Thank you Antonio.

I now only have one unresolved external:

xLINK: error: Unresolved external symbol '__chkstk referenced from FiveHCM.lib(C5CNEW.obj)'.

Cheers,

Pat.
Pat Driscoll
Australia
User avatar
patdriscoll
 
Posts: 16
Joined: Tue May 19, 2009 7:28 pm

Re: FWH / xHarbour.com Unresolved external symbol

Postby Antonio Linares » Fri Jun 29, 2012 7:13 am

Pat,

I just emailed a modified lib to you that does not require chkstk :-)

For general infomation: _chkstk is automatically invoked by the (Microsoft) C compiler when a C function uses too much (over 4 Kb) local C variables. In this case, the variables should be dinamically allocated using hb_xgrab() and freed later on with hb_xfree():

http://www.codeguru.com/cpp/v-s/debug/article.php/c19241/Adventures-with-chkstk.htm
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Otto and 82 guests