Page 2 of 2

Re: fwh 10.09 link error ?

PostPosted: Sat Oct 30, 2010 12:10 am
by Antonio Linares
Yungb,

Please use this harbour and vc2008:
http://www.fivetechsoft.com/files/harbour_vc2008.zip

Re: fwh 10.09 link error ?

PostPosted: Mon Nov 01, 2010 6:47 pm
by yunbg1
Hi Antonio

link error message .....

Harbour 2.1.0.beta2 {Rev.15240>
Compiling...
testmex.c
hbwin.lib(win_dll.obj) : error LNK2019: symbole externe non resolu _hb_gcAlloc reference dans la fonction _HB_FUN_DLLPREPARECALL
hbwin.lib(win_ole.obj) : error LNK2001: symbole externe non resolu _hb_gcAlloc
hbwin.lib(win_tole.obj) : error LNK2019: symbole externe non resolu _hb_vmProcessSymbolsEx reference dans la fonction _hb_vm_SymbolInit_WIN_TOLE
hbwin.lib(win_ole.obj) : error LNK2019: symbole externe non resolu _hb_itemPutCPtr2 reference dans la fonction _hb_oleVariantToItem
testmex.exe : fatal error LNK1120: 3 externes non resolus
* Linking errors *

Re: fwh 10.09 link error ?

PostPosted: Mon Nov 01, 2010 9:18 pm
by Antonio Linares
Yungb,

Are you using a hbwin.lib from your previous Harbour version ?

It seems as I did not include it in the files that I gave you. You can not mix different versions.

We are going to build it.

BTW, we used this batch file to build Harbour with VC2008:

govc2008.bat

set HB_COMPILER=msvc
set path=c:\vc2008\bin
set include=c:\vc64\include // We used vc64 as our vc2008 include folder was incomplete to build Harbour
set lib=c:\vc2008\lib
win-make.exe

Re: fwh 10.09 link error ?

PostPosted: Tue Nov 09, 2010 9:05 am
by cly166
As i know, some code about DbSkipper() in wbrowse.prg, xwbrowse.prg and database was mistakenly #xtranslate -ed into uncorrect expression, for example we need to fix wbrowse.prg line 57 ~ 61 in following way and recompile it.

#ifdef __HARBOUR__
// #ifndef __XHARBOUR__
// #xtranslate _DbSkipper => __DbSkipper
// #else
#xtranslate _DbSkipper => DbSkipper
// #endif
#endif

cly
Regards

Re: fwh 10.09 link error ?

PostPosted: Sat Nov 13, 2010 7:12 am
by Antonio Linares
Yes, it was changed in recent Harbour versions,

Thanks anyhow :-)