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

Post Reply
Elcio Junior
Posts: 5
Joined: Fri Sep 25, 2009 5:54 pm

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

Post 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<<<
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

regards, saludos

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

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

Post by Antonio Linares »

xhb.obj is available from here:
www.fivetechsoft.com/files/xhb.obj
regards, saludos

Antonio Linares
www.fivetechsoft.com
Elcio Junior
Posts: 5
Joined: Fri Sep 25, 2009 5:54 pm

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

Post 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<<<
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

Elcio,

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

Antonio Linares
www.fivetechsoft.com
Elcio Junior
Posts: 5
Joined: Fri Sep 25, 2009 5:54 pm

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

Post by Elcio Junior »

Now this compiling without errors.

Thanks!
dionie
Posts: 6
Joined: Wed Dec 21, 2005 5:16 pm

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

Post 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 ?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply