FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error during Compile
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Error during Compile
Posted: Wed Mar 28, 2007 09:31 PM

Hi everybody,

I am Creating a .mak file in MSMAKE and compiling my code. During compiling the following error code generating, which is unresolved.

error LNK2019: unresolved external symbol _xCCGetLargestConsoleWindowSize referenced in function _hb_gt_SetMode regcode.exe : fatal error LNK1120: 1 unresolved externals

I am creating gtwin.lib (gtwin.c, cmdarg.c and mousewin.c). It is creating successfully.

I think, the above symbol is part of gtwin.c. I am including wincon.h (i.e. โ€œ#include wincon.hโ€) also in gtwin.c for testing. But practically there is no effect.

Can any one give me solution?

With regards,
Arindam

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error during Compile
Posted: Wed Mar 28, 2007 09:44 PM

Arindam,

You have to use GTGUI.lib not GTWIN.lib

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion