fiveh.lib and xcc

fiveh.lib and xcc

Postby dusanm » Sun Oct 29, 2006 9:43 pm

I've got fiveh.lib compiled with bordland compiler and when used with xharbour professional (xcc) it gives an error
xLINK: fatal error: Corrupt library: 'D:\fwh\lib\Fiveh.lib'.
So is there fiveh.lib compatible with xharbour?
dusanm
 
Posts: 2
Joined: Sun Oct 29, 2006 3:05 pm

Postby Antonio Linares » Mon Oct 30, 2006 12:02 am

You have to use FiveHMX.lib and FiveHCM.lib for xHarbour and xcc.
regards, saludos

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

Postby dusanm » Tue Oct 31, 2006 1:28 pm

Hi Antonio,
I used those libs as you suggested but I still have problems. I tried compiling you testsql1.prg.
Here is xbp file:
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
STARTIN =
TARGETFOLDER =

[TESTSQL1.PRG]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =

[TEST.RC]
MYDEFINES =
MYRC_FLAGS =

[fivehmx.lib]

[fivehcm.lib]

End log of the error it produces:
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"d:\xhb\lib" -LIBPATH:"d:\xhb\c_lib" -LIBPATH:"d:\xhb\c_lib\win" -LIBPATH:"D:\fw\lib" "TESTSQL1.obj" "TEST.res" fivehmx.lib fivehcm.lib OptG.lib sql.lib ace32.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.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 comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"testsql1.exe"<<<

xLINK: error: Unresolved external symbol '_HB_FUN_INIODBC32'.

xLINK: error: Unresolved external symbol '_HB_FUN_ENDODBC32'.

xLINK: error: Unresolved external symbol '_HB_FUN__TRDD'.

xLINK: error: Unresolved external symbol '_HB_FUN_RDDSETFIELDEXTENT'.

xLINK: error: Unresolved external symbol '_HB_FUN_RDDADDFIELD'.

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


Type: C >>>Couldn't build: testsql1.exe<<<
dusanm
 
Posts: 2
Joined: Sun Oct 29, 2006 3:05 pm

Postby Antonio Linares » Tue Oct 31, 2006 10:28 pm

Class TRdd is available for FiveWin 16 bits only. Please try other samples.
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 89 guests

cron