Sbutton para xHarbour/FW26

Post Reply
User avatar
pymsoft
Posts: 383
Joined: Tue Oct 11, 2005 1:01 pm
Location: Savona - Italia
Contact:

Sbutton para xHarbour/FW26

Post by pymsoft »

Como dice en el asunto... alguien tiene las librerias de sbutton para xHarbour/FW26?
O que alguien me explique como compilarlas, porque no doy pie con bola...


RMAKE 1.4 Copyright (c) 1989-1993 Computer Associates International, Inc.
c:\xHxFw26\bin\harbour ..\SOURCE\CLASSES\TSBUTTON.PRG /n /i..\source\classes;..
\include;c:\ut\Fwh26\include;c:\xHxFw26\include > comp.log
Error RMAKE/R2001 Exit 12: 'c:\xHxFw26\bin\harbour ..\SOURCE\CLASSES\TSBUTTON.P
RG /n /i..\source\classes;..\include;c:\ut\Fwh26\include;c:\xHxFw26\include > c
omp.log'



Pedro Gonzalez
Savona - Italia
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Pedro,

Que errores te aparecen en comp.log ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
pymsoft
Posts: 383
Joined: Tue Oct 11, 2005 1:01 pm
Location: Savona - Italia
Contact:

Post by pymsoft »

Hola Antonio, no me aparece ningun error. En realidad, aparece vacío.

Pedro Gonzalez
Savona - Italia
Marco Augusto
Posts: 122
Joined: Wed Oct 12, 2005 1:03 pm
Location: Cuernacava, Morelos Mexico

COMPILACION DE LAS LIBRERIAS TSBROWSE Y TSBUTTON

Post by Marco Augusto »

HOLA COMO DATO CURIOSO A MI TAMBIEN ME HA DADO EL MISMO ERROR CUANDO COMPILO ESA LIBRERIAS
POR POR CASUALIDAD NOTE QUE EN WINDOWS 98 SI COMPILA BIEN
Marco Augusto Rodriguez Manzo
fwh 2020 Xharbour 1.2.3
MySQL 5.0.19 Fastreport

PERZO SOFT
Sistemas Personalizados
User avatar
pymsoft
Posts: 383
Joined: Tue Oct 11, 2005 1:01 pm
Location: Savona - Italia
Contact:

Post by pymsoft »

:-(

No tengo una maquina con W98 a mano y con todo instalado.
De todos modos, me resolvería el problema, al menos por ahora, si alguien me puede enviar la librería ya compilada.

xHarbour 0.99.51/FWH26

Gracias

Pedro Gonzalez
Savona - Italia
User avatar
pymsoft
Posts: 383
Joined: Tue Oct 11, 2005 1:01 pm
Location: Savona - Italia
Contact:

Post by pymsoft »

Bueno, lo solucioné leyendo el forum de español o ingles, ya no lo recuerdo:


@ECHO OFF
CLS
set fwh=c:\ut\fwh26
set include=.\INCLUDE;c:\ut\fwh26\include;%INCLUDE%
set hdir=c:\xhxFW26
set bcdir=c:\bcc55\bin
set def=HB_API_MACROS

%hdir%\bin\harbour SOURCE\Classes\TSBAR.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSBAR.C
%hdir%\bin\harbour SOURCE\Classes\TSBUTTON.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSBUTTON.C
%hdir%\bin\harbour SOURCE\Classes\TSLINES.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSLINES.C
%hdir%\bin\harbour SOURCE\Classes\TSRADIO.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSRADIO.C
%hdir%\bin\harbour SOURCE\Classes\TSTSAY.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSTSAY.C


rem INICIO Modulos C Generados por Harbour !!!

%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSBAR.OBJ OBJ\TSBAR.C
%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSBUTTON.OBJ OBJ\TSBUTTON.C
%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSLINES.OBJ OBJ\TSLINES.C
%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSRADIO.OBJ OBJ\TSRADIO.C
%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSTSAY.OBJ OBJ\TSTSAY.C

@del OBJ\*.c


rem Modulos C Nativos !!!

%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include;%fwh%\include -oOBJ\BPAINT.OBJ source\function\BPAINT.C



@del LIB\SButtonX.LIB

c:\bcc55\bin\Tlib lib\SButtonX +obj\TSBar > Lib.log
c:\bcc55\bin\Tlib lib\SButtonX +obj\TSBUtton >> Lib.log
c:\bcc55\bin\Tlib lib\SButtonX +obj\TSLines >> Lib.log
c:\bcc55\bin\Tlib lib\SButtonX +obj\TSRadio >> Lib.log
c:\bcc55\bin\Tlib lib\SButtonX +obj\TSTSay >> Lib.log
c:\bcc55\bin\Tlib lib\SButtonX +obj\BPaint >> Lib.log



rem @del tmplib.bc

@echo Library built



Saludos

Pedro Gonzalez
Savona - Italia
User avatar
wpacheco
Posts: 28
Joined: Tue Nov 15, 2005 1:03 am
Location: Isla Margarita, Venezuela
Contact:

Post by wpacheco »

Saludos

He intentado reproducir tu ejemplo pero obtengo estos mensajes en el modulo BPaint

Code: Select all

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
source\function\BPAINT.C:
Warning W8069 source\function\BPAINT.C 100: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 153: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 286: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 296: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 299: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 305: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8069 source\function\BPAINT.C 308: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
Warning W8004 source\function\BPAINT.C 465: 'hPalette1' is assigned a value that is never used in function HB_FUN_SBTNPAINT
Warning W8065 source\function\BPAINT.C 1016: Call to function 'GetTextExtent' with no prototype in function HB_FUN_DRAWRADIO
Warning W8065 source\function\BPAINT.C 1392: Call to function 'GetTextExtent' with no prototype in function cDrawBoxes
Esto me impide generar correctamente la Lib
Tienes alguna idea por que ocurre?
User avatar
MarioG
Posts: 1356
Joined: Fri Oct 14, 2005 1:28 pm
Location: Resistencia - Chaco - AR

Post by MarioG »

Aqui tienen la Lib.
con este make (lib_fwxh.mak) que vino con el wBrowse de Hernán nunca tuve problemas para enlazar cualquiera de las lib usuales.
Hay que editar el .mak y acondicionar los path. se usa con bmake

http://hyperupload.com/download/026ba70 ... N.ZIP.html

Saludos
Resistencia - "Ciudad de las Esculturas"
Chaco - Argentina
User avatar
wpacheco
Posts: 28
Joined: Tue Nov 15, 2005 1:03 am
Location: Isla Margarita, Venezuela
Contact:

Post by wpacheco »

Muchas gracias
Voy a probar...
Post Reply