Page 1 of 1

fivehcm.lib and compatible with xhb.com April-2009?

Posted: Fri Sep 25, 2009 7:35 pm
by Elcio Junior
FWH 9:09 and xHb.com 1.2.1 April-2009 error when compiling c:\fwh\samples\ testget.prg

fivehcm.lib and compatible with xhb.com April-2009?


Type: C >>>xhb.exe -o"obj_c\testget.c" -m -n -pOobj_c\ -q -gc0 -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "testget.prg"<<<
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'obj_c\testget.obj'...

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\fwh\lib" -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" "obj_c\testget.obj" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"testget.exe"<<<

Creating object: testget.EXP

Creating library: testget.LIB

xLINK: error: Unresolved external symbol '??2@YAPAXI@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '??3@YAXPAX@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_OleUIPasteSpecialA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_GetFileVersionInfoSizeA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_GetFileVersionInfoA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_VerQueryValueA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: fatal error: 6 unresolved external(s).


Type: C >>>Couldn't build: testget.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1411<<<

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Fri Sep 25, 2009 9:14 pm
by Antonio Linares

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Fri Sep 25, 2009 9:32 pm
by Antonio Linares
xhb.obj is available from here:
www.fivetechsoft.com/files/xhb.obj

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Fri Sep 25, 2009 9:46 pm
by Elcio Junior
Antonio
Now after xhb.obj other errors

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" "obj_c\testget.obj" "C:\FWH\lib\xhb.obj" "C:\xHB\c_lib\Win\version.lib" "C:\FWH\lib\Fivehmx.lib" "C:\FWH\lib\Fivehcm.lib" "C:\xHB\c_lib\Win\oledlg.lib" "C:\xHB\lib\Ole.lib" "C:\FWH\lib\version.lib" "C:\FWH\lib\oledlg.lib" "WinAPI.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"testget.exe"<<<

Creating object: testget.EXP

Creating library: testget.LIB

xLINK: error: Unresolved external symbol '?hb_xgrab@@YAPAXK@Z referenced from (xhb.obj)'.

xLINK: error: Unresolved external symbol '?hb_xfree@@YAXPAX@Z referenced from (xhb.obj)'.

xLINK: fatal error: 2 unresolved external(s).


Type: C >>>Couldn't build: testget.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1411<<<

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Fri Sep 25, 2009 11:50 pm
by Antonio Linares
Elcio,

Please link this xhb2.obj instead of xhb.obj:
www.fivetechsoft.com/files/xhb2.obj

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Sat Sep 26, 2009 3:52 pm
by Elcio Junior
Now this compiling without errors.

Thanks!

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Tue Dec 29, 2009 6:08 pm
by dionie
Shouldn't this be added to fivehcm.lib Nov 09 build as this seems to have been determined as a problem way back in April ?

Re: fivehcm.lib and compatible with xhb.com April-2009?

Posted: Tue Dec 29, 2009 6:41 pm
by Antonio Linares
Dionie,

The problem is that FiveHCM.lib can be used with Microsoft C (recommended) or PellesC (used from xharbour commercial). And PellesC does not properly provides all the required import libraries that Microsoft C properly provides.