Al compilar ejemplo me da este error
Con xHarbour Personal
- Code: Select all Expand view
Creating object: fwbrow.EXP
Creating library: fwbrow.LIB
xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_GETFILESINZIP referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_UNZIPFILE referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: fatal error: 10 unresolved external(s).
Con xHarbour Interprice
- Code: Select all Expand view
Creating object: fwbrow.EXP
Creating library: fwbrow.LIB
xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_hb_CheckSpanMode referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_New referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_SetGlobalcomment referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_SetActCallBack referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_AddnNewFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_Close referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_NewTdSpan referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_SpanCallbackc_New referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_NewPkSpan referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_SpanCallbackc_End referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_WithPassWord referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_Open referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileInfo referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_FindFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileName referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipHandle_ZipSetRoot referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_ExtractFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_FileCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_GetGlobalcomment referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: fatal error: 29 unresolved external(s).
Este es el bat de compilacion
- Code: Select all Expand view
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 17.05 (XHB.COM) May 2017 Harbour development power ³Ü
ECHO ³ (c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
set xhbdir=K:\xHarbour_v\xHB
set fwhdir=k:\fwh
ECHO Compiling...
%xhbdir%\bin\xhb %1 /n /w /p /i%fwhdir%\include;%xhbdir%\include;%xhbdir%\c_include > compiler.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILERERROR:
@type compiler.log
@type warnings.log
IF EXIST %1.rc %xhbdir%\bin\xrc -r -d__FLAT__ -i%xhbdir%\c_include %1
IF ERRORLEVEL 1 GOTO RCCOMPILERERROR:
ECHO %1.obj > xhb.tmp
IF EXIST %1.res ECHO %1.res >> xhb.tmp
ECHO %fwhdir%\lib\fivehmx.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehcm.lib >> xhb.tmp
ECHO %xhbdir%\lib\optg.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhb.lib >> xhb.tmp
ECHO %xhbdir%\lib\dbf.lib >> xhb.tmp
ECHO %xhbdir%\lib\nsx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ntx.lib >> xhb.tmp
ECHO %xhbdir%\lib\cdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\rmdbfcdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ct3comm.lib >> xhb.tmp
ECHO %xhbdir%\lib\xHBZIP.lib >> xhb.tmp
rem ECHO %xhbdir%\lib\png.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\crt.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\libc.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\oldnames.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\kernel32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\user32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winspool.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ole32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\oleaut32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbc32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbccp32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\uuid.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wsock32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ws2_32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wininet.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\advapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shlwapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\msimg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\mpr.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\psapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\iphlpapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\OleDlg.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\version.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comctl32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comdlg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shell32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winmm.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\lz32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdiplus.lib >> xhb.tmp
rem ECHO %xhbdir%\c_lib\win\mem32.lib >> xhb.tmp
rem ECHO %xhbdir%\c_lib\win\send32.lib >> xhb.tmp
REM ECHO %xhbdir%\lib\sql.lib >> xhb.tmp
%xhbdir%\bin\xlink -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -SUBSYSTEM:windows -UNMANGLE @xhb.tmp -OUT:%1.exe
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
ECHO Deleting temporaly files...
@del %1.c
@del %1.ppo
@del %1.obj
@del %1.map
@del xhb.tmp
@del compiler.log
@del warnings.log
%1
GOTO EXIT
ECHO
:COMPILERERROR
@type compiler.log
@type warnings.log
ECHO * Compiling program errors *
GOTO EXIT
:RCCOMPILERERROR
ECHO * Compiling resources errors *
GOTO EXIT
:LINKERROR
ECHO * Linking executable errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: BuildXHB [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT