Hay ventajas de utilizar Microsoft C en lugar de Borland?

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby Antonio Linares » Thu Jan 30, 2014 5:00 pm

Oscar,

usa #include <windows.h> solamente y prueba otra vez
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby ORibeiro » Fri Jan 31, 2014 9:30 am

Linares,

Ahora él está encontrando error en recursos "CURSOR". ¿Debo incluir algo más?

Code: Select all  Expand view  RUN

hbmk2: Compiling resources...
oa_bmp1.rc(17) : error RC2135 : file not found: CURSOR
oa_bmp1.rc(18) : error RC2135 : file not found: 02
hbmk2: Error: Running resource compiler. 3
rc.exe -nologo  -IC:\HARBOUR\include -Incremental -Ic:\harbour\include;c:\fwh\include -fo obj\oa_bmp1.res oa_bmp1.rc
 


Gracias,
Oscar Ribeiro
OASyS Informática
Fwh18.02 + xHarbour 1.2.3 + Bcc72
User avatar
ORibeiro
 
Posts: 187
Joined: Mon Oct 20, 2008 6:33 pm
Location: Itu, Sao Paulo, Brazil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby Antonio Linares » Fri Jan 31, 2014 2:30 pm

Oscar,

Que código tienes en las líneas oa_bmp1.rc(17) y 18 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby ORibeiro » Fri Jan 31, 2014 9:33 pm

Aquí tiene:

Line 17 = LUPA CURSOR

Code: Select all  Expand view  RUN

/****************************************************************************


oa_bmp1.rc

produced by Borland Resource Workshop


*****************************************************************************/



#include <windows.h>

#define ICON_2  2
#define ICON_1  1

LUPA CURSOR
{
 '00 00 02 00 01 00 20 20 00 00 09 00 08 00 30 01'
 '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
 '00 00 01 00 01 00 00 00 00 00 80 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 FF FF FF 00 00 00 00 00 00 00 00 20 00 00'
 '00 70 00 00 00 D8 00 00 01 88 00 00 03 00 00 00'
 '06 00 00 00 0C 00 00 00 18 00 00 00 30 00 00 00'
 '60 00 00 F8 C0 00 03 FF 80 00 07 07 00 00 0C F8'
 '00 00 10 0E 00 00 00 03 80 00 20 01 80 00 00 00'
 'C0 00 00 00 40 00 00 00 40 00 40 00 00 00 40 00'
 '00 00 40 00 00 00 60 00 00 00 60 00 00 00 30 00'
 '00 00 3C 01 00 00 1F 06 00 00 0F FC 00 00 03 F0'
 '00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF'
 'FF FF FF FF FF DF FF FF FF 8F FF FF FF 07 FF FF'
 'FE 07 FF FF FC 0F FF FF F8 1F FF FF F0 3F FF FF'
 'E0 7F FF FF C0 FF FF FF 81 FF FF 07 03 FF FC 00'
 '07 FF F0 00 0F FF E3 F0 1F FF EF FC 3F FF DF FE'
 '1F FF 9F FF 1F FF 9F FF 1F FF 1F FF 9F FF 1F FF'
 '9F FF 1F FF 9F FF 0F FF BF FF 0F FF BF FF 83 FE'
 '7F FF 80 F8 7F FF C0 00 FF FF E0 01 FF FF F0 03'
 'FF FF FC 0F FF FF'
}




ACHA ICON
{
 '00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
 '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
 '00 00 01 00 04 00 00 00 00 00 00 02 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
 '00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
 '80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
 '00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '08 88 88 88 88 00 00 08 88 88 88 88 88 80 00 00'
 '08 88 88 88 88 00 00 08 88 88 88 88 88 80 00 00'
 '00 00 00 00 08 00 00 00 00 00 00 00 08 80 00 00'
 '00 00 00 00 08 00 00 00 00 00 00 00 08 80 00 00'
 '00 00 00 00 08 00 00 00 00 00 00 00 08 80 00 00'
 '0F 78 88 88 08 00 00 0F 77 77 78 00 08 80 00 00'
 '00 00 00 00 08 88 88 00 00 00 00 00 08 80 00 00'
 '00 00 00 00 08 88 88 00 00 00 00 00 08 80 00 00'
 '0F 78 88 88 00 00 00 0F 77 77 78 00 08 80 00 00'
 '0F 78 88 88 00 00 00 0F 77 77 78 00 08 80 00 00'
 '0F 78 88 88 00 00 00 0F 77 77 78 00 08 80 00 00'
 '0F 78 88 88 08 88 88 0F 77 77 78 00 08 80 00 00'
 '0F 78 88 80 00 00 00 00 77 77 78 00 08 80 00 00'
 '0F 78 88 80 F7 77 78 80 77 77 78 00 08 80 00 00'
 '0F 78 88 80 00 00 00 00 77 77 78 00 08 80 00 00'
 '0F 78 88 80 00 00 00 00 77 77 78 00 08 80 00 00'
 '0F 78 88 80 00 00 00 00 77 77 78 00 08 80 00 00'
 '0F 78 88 88 00 00 00 0F 77 77 78 00 08 80 00 00'
 '00 00 00 00 00 88 80 00 00 00 00 00 08 80 00 00'
 '00 F7 77 78 80 88 80 F7 77 77 70 88 80 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 88 80 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 88 80 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 88 80 00 00 00'
 '00 07 77 78 08 00 00 07 88 80 08 00 00 00 00 00'
 '00 07 77 78 08 00 00 07 88 80 08 00 00 00 00 00'
 '00 00 00 00 08 88 80 00 00 00 08 88 80 00 00 00'
 '00 78 88 88 80 88 80 78 88 88 80 88 80 00 00 00'
 '00 78 88 88 80 88 80 78 88 88 80 88 80 00 00 00'
 '00 78 88 88 80 88 80 78 88 88 80 88 80 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
 'FF FF F8 03 E0 01 F8 03 E0 01 C0 03 C0 01 C0 03'
 'C0 01 C0 03 C0 01 C0 03 C0 01 C0 00 00 01 C0 00'
 '00 01 C0 00 00 01 C0 00 00 01 C0 00 00 01 C0 00'
 '00 01 C0 00 00 01 C0 00 00 01 C0 00 00 01 C0 00'
 '00 01 C0 00 00 01 C0 00 00 01 C0 00 00 01 F8 00'
 '00 07 F8 03 80 07 F8 03 80 07 F8 03 80 07 FC 03'
 'C0 3F FC 03 C0 3F FC 00 40 07 F8 00 00 07 F8 00'
 '00 07 F8 00 00 07 F8 03 80 3F FF FF FF FF'
}


 
Oscar Ribeiro
OASyS Informática
Fwh18.02 + xHarbour 1.2.3 + Bcc72
User avatar
ORibeiro
 
Posts: 187
Joined: Mon Oct 20, 2008 6:33 pm
Location: Itu, Sao Paulo, Brazil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby ORibeiro » Mon Feb 03, 2014 5:30 pm

El compilador no reconoce en (.rc): CURSOR, ICON, BITMAP.

NOME1 CURSOR
NOME2 ICON
NOME2 BITMAP

Da error en estas líneas. ¿Qué debo hacer?
Oscar Ribeiro
OASyS Informática
Fwh18.02 + xHarbour 1.2.3 + Bcc72
User avatar
ORibeiro
 
Posts: 187
Joined: Mon Oct 20, 2008 6:33 pm
Location: Itu, Sao Paulo, Brazil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby karinha » Mon Feb 03, 2014 5:39 pm

Retire: #include <windows.h>

abs,
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby ORibeiro » Mon Feb 03, 2014 5:48 pm

El resultado es el mismo.

Creo que no reconoce lo que está entre llaves {...}

LUPA CURSOR
{
'00 00 02 00 01 00 20 20 00 00 09 00 08 00 30 01'
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
'00 00 01 00 01 00 00 00 00 00 80 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 FF FF FF 00 00 00 00 00 00 00 00 20 00 00'
'00 70 00 00 00 D8 00 00 01 88 00 00 03 00 00 00'
'06 00 00 00 0C 00 00 00 18 00 00 00 30 00 00 00'
'60 00 00 F8 C0 00 03 FF 80 00 07 07 00 00 0C F8'
'00 00 10 0E 00 00 00 03 80 00 20 01 80 00 00 00'
'C0 00 00 00 40 00 00 00 40 00 40 00 00 00 40 00'
'00 00 40 00 00 00 60 00 00 00 60 00 00 00 30 00'
'00 00 3C 01 00 00 1F 06 00 00 0F FC 00 00 03 F0'
'00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF DF FF FF FF 8F FF FF FF 07 FF FF'
'FE 07 FF FF FC 0F FF FF F8 1F FF FF F0 3F FF FF'
'E0 7F FF FF C0 FF FF FF 81 FF FF 07 03 FF FC 00'
'07 FF F0 00 0F FF E3 F0 1F FF EF FC 3F FF DF FE'
'1F FF 9F FF 1F FF 9F FF 1F FF 1F FF 9F FF 1F FF'
'9F FF 1F FF 9F FF 0F FF BF FF 0F FF BF FF 83 FE'
'7F FF 80 F8 7F FF C0 00 FF FF E0 01 FF FF F0 03'
'FF FF FC 0F FF FF'
}
Oscar Ribeiro
OASyS Informática
Fwh18.02 + xHarbour 1.2.3 + Bcc72
User avatar
ORibeiro
 
Posts: 187
Joined: Mon Oct 20, 2008 6:33 pm
Location: Itu, Sao Paulo, Brazil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby karinha » Mon Feb 03, 2014 6:17 pm

Aqui, o Borland Resources Workshop.exe abre tranquilamente,

Eu incorporo um ARQUIVO.RC a um projeto assim, por exemplo:

%bcdir%\bin\BRC32.EXE -R XPLOOK.RC

Como você está fazendo?

abs,
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Hay ventajas de utilizar Microsoft C en lugar de Borland?

Postby ORibeiro » Wed Feb 05, 2014 7:11 pm

Todavía incapaz de generar mi ejecutable con VS.

Alguien tiene una script de hbmk2.exe con VS?
Oscar Ribeiro
OASyS Informática
Fwh18.02 + xHarbour 1.2.3 + Bcc72
User avatar
ORibeiro
 
Posts: 187
Joined: Mon Oct 20, 2008 6:33 pm
Location: Itu, Sao Paulo, Brazil

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests