Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Una pregunta sobre TSBUTTON
Posted: Fri Jan 26, 2007 03:11 PM
Aida
Copia este codigo a un archivo bat, y lo pegas en la carpeta lib (TSBUTTON\LIB) y luego compilas con el bat
@ECHO OFF
set harbour=c:\harbour\
set fwh=c:\fwh
del *.lib
del *.log
%harbour%bin\harbour ..\source\classes\TSButton.prg /n /i..\include;c:\Fwh\include;c:\harbour\include > comp.log
if errorlevel 1 goto error
%harbour%bin\harbour ..\source\classes\TSBar.prg /n /i..\include;c:\Fwh\include;c:\harbour\include >> comp.log
if errorlevel 1 goto error
%harbour%bin\harbour ..\source\classes\TSLines.prg /n /i..\include;c:\Fwh\include;c:\harbour\include >> comp.log
if errorlevel 1 goto error
%harbour%bin\harbour ..\source\classes\TSRadio.prg /n /i..\include;c:\Fwh\include;c:\harbour\include >> comp.log
if errorlevel 1 goto error
%harbour%bin\harbour ..\source\classes\TSTSay.prg /n /i..\include;c:\Fwh\include;c:\harbour\include >> comp.log
if errorlevel 1 goto error
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF -O2 -c -I%harbour%include;%fwh%\include tsbutton.c >> comp
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF -O2 -c -I%harbour%include;%fwh%\include TsBar.c >> comp
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF) -O2 -c -I%harbour%include;%fwh%\include TSlines.c >> comp
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF -O2 -c -I%harbour%include;%fwh%\include TSRadio.c >> comp
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF -O2 -c -I%harbour%include;%fwh%\include TSTSay.c >> comp
c:\borland\bcc55\bin\bcc32 -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF -O2 -c -I%harbour%include;%fwh%\include ..\source\function\BPaint.c >> comp
c:\borland\bcc55\bin\Tlib SButtonH +TSButton > Lib.log
c:\borland\bcc55\bin\Tlib SButtonH +BPaint >> Lib.log
c:\borland\bcc55\bin\Tlib SButtonH +TSBar >> Lib.log
c:\borland\bcc55\bin\Tlib SButtonH +TSLines >> Lib.log
c:\borland\bcc55\bin\Tlib SButtonH +TSRadio >> Lib.log
c:\borland\bcc55\bin\Tlib SButtonH +TSTSay >> Lib.log
goto exit
:ERROR
Cls
Echo Error al compilar...
type log.log|more
pause
:EXIT
set harbour=
set fwh=
del *.obj
del *.c
del *.bak
rem xcopy *.lib d:\apl\prgs\lib32\
Espero que te sirva
Saludos
Patricio
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl