Saludos.
Con un inconveniente al compilar la lib de tsbutton 7.0 con Bcc 6.5, a ver si me puedes ayudar, no lo he logrado ligar.
Errores:
Embarcadero C++ 6.50 for Win32 Copyright (c) 1993-2012 Embarcadero Technologies, Inc.
c:\autosys\prgs\tsbutton\source\function\BPAINT.C:
Error E2257 c:\autosys\prgs\bcc\include\dinkumware\yvals.h 960: , expected
Error E2238 c:\autosys\prgs\bcc\include\stdarg.h 32: Multiple declaration for 'va_list'
Error E2344 c:\autosys\prgs\bcc\include\dinkumware\yvals.h 960: Earlier declaration of 'va_list'
*** 3 errors in Compile ***
mi cfg's de bcc son:
bcc32.cfg
-Ic:\autosys\prgs\bcc\include;c:\autosys\prgs\bcc\include\dinkumware;c:\autosys\prgs\bcc\include\windows\crtl;c:\autosys\prgs\bcc\include\windows\rtl
-Ic:\autosys\prgs\bcc\include\windows\sdk;c:\autosys\prgs\bcc\include\windows
-Ic:\autosys\prgs\fun;c:\autosys\prgs\fwh\include;c:\autosys\prgs\xharbour\include
-Lc:\autosys\prgs\bcc\lib;c:\autosys\prgs\fun;c:\autosys\prgs\fwh\lib;c:\autosys\prgs\xharbour\lib
ilink32.cfg
-Lc:\autosys\prgs\bcc\lib;c:\autosys\prgs\fun;c:\autosys\prgs\fwh\lib;c:\autosys\prgs\xharbour\lib
tlinck32.cfg
-Lc:\autosys\prgs\bcc\lib
sbuttonx.bat ( valor de %prgs%=c:\autosys\prgs )
@ECHO OFF
rem change paths if neccesary
rem cambia las rutas si es necesario
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\Source\Classes\TSButton.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\source\classes\TSLines.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\source\classes\TSRadio.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\source\classes\TSBar.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\source\classes\TSTSay.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\xHarbour\Bin\Harbour %prgs%\tsbutton\source\classes\TSGradie.prg /n /m /w /es2 > harb.log
IF ERRORLEVEL 1 GOTO HARBOURERROR
%prgs%\bcc\bin\bcc32 -O2 -c -D__HARBOUR__ -L%prgs%\fwh\lib\;%prgs%\xHarbour\lib;%prgs%\bcc\lib -I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSButton.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSLines.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSRadio.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSBar.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSTSay.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include TSGradie.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
%prgs%\bcc\bin\bcc32 /O2 /c /D__HARBOUR__ /I%prgs%\bcc\include;%prgs%\fwh\include;%prgs%\xHarbour\include %prgs%\tsbutton\source\function\BPaint.c > comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
Del SButtonX.lib
%prgs%\bcc\bin\Tlib SButtonX +TSButton.obj > Lib.log
%prgs%\bcc\bin\Tlib SButtonX +BPaint.obj >> Lib.log
%prgs%\bcc\bin\Tlib SButtonX +TSLines.obj >> Lib.log
%prgs%\bcc\bin\Tlib SButtonX +TSRadio.obj >> Lib.log
%prgs%\bcc\bin\Tlib SButtonX +TSBar.obj >> Lib.log
%prgs%\bcc\bin\Tlib SButtonX +TSTSay.obj >> Lib.log
%prgs%\bcc\bin\Tlib SButtonX +TSGradie.obj >> Lib.log
Del *.c
Del *.obj
Del *.log
ECHO SButtonX.lib was successfuly created
ECHO SButtonX.lib fue creada exitosamente
GOTO END
:HARBOURERROR
ECHO Harbour Compiler error see harb.log
GOTO END
:COMPILERROR
ECHO Borland Compiler error see comp.log
:END