by 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<<<