by russimicro » Sun Nov 10, 2024 3:09 pm
Buen dia..
shell32.lib , ya la tenia
Con el buildxhb.bat de samples ... pasa lo mismo
Este es mi .bat (basado en samples de fwh)
@ECHO OFF
CLS
ECHO 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커
ECHO ?FiveWin for xHb commercial 23.04 - Abril. 2023 Harbour development power 넵
ECHO ?(c) FiveTech 1993-2022 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=c:\xhb
SET fwhdir=c:\fwh24_09
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 -i%xhbdir%\c_include\win %1
IF ERRORLEVEL 1 GOTO RCCOMPILERERROR:
ECHO %1.obj > xhb.tmp
IF EXIST %1.res ECHO %1.res >> xhb.tmp
ECHO lib\RussoftLib24_09.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehmx.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehcm.lib >> xhb.tmp
ECHO xhb.lib >> xhb.tmp
ECHO OptG.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbhpdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\harupdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\png.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbzebra.lib >> xhb.tmp
ECHO ? "%fwhdir%\lib\libmariadb32.lib >> xhb.tmp"
ECHO %fwhdir%\lib\libmysql32.lib >> xhb.tmp
ECHO %xhbdir%\lib\sql.lib >> xhb.tmp
ECHO %xhbdir%\lib\ads.lib >> xhb.tmp
ECHO %xhbdir%\lib\ace32.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\libpq.lib >> xhb.tmp
ECHO %xhbdir%\lib\fbclient_ms.lib >> xhb.tmp
ECHO %xhbdir%\lib\oci.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\crt.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\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
ECHO %xhbdir%\lib\xhbzip.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzipdll.lib >> xhb.tmp
ECHO %fwhdir%\lib\xfw.lib >> xhb.tmp
%xhbdir%\bin\xlink -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -SUBSYSTEM:windows -UNMANGLE -LIBPATH:"%fwhdir%\Lib" -LIBPATH:"%xhbdir%\Lib" -LIBPATH:"%xhbdir%\c_lib" -LIBPATH:"%xhbdir%\c_lib\Win" @xhb.tmp -OUT:%1.exe
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
@del %1.c
@del %1.ppo
@del %1.obj
rem @del %1.map
@del xhb.tmp
@del compiler.log
@del warnings.log
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