Salvar RC com PELLES´C

Salvar RC com PELLES´C

Postby MGA » Tue Nov 04, 2008 11:31 am

Ao abrir o meu arquivo RC (clientes.rc) utilizando o PELLES´C, ao salvar o arquivo aparece estas linhas no topo do arquivo:

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>

O problema é que ao compilar com estas linhas me acontece o erro:

[1]:Brc32.Exe -r -foResource\SGR.Res RC\SGR.RC
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error clientes.rc 3 11: Cannot open file: windows.h

Alguem sabe como resolver ?

:(
Last edited by MGA on Tue Nov 04, 2008 12:24 pm, edited 1 time in total.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Daniel Garcia-Gil » Tue Nov 04, 2008 11:58 am

set Traductor-portuges ON
edit o RC e erase aquelas linhas que eu acredito que é suficiente…
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Postby MGA » Tue Nov 04, 2008 12:29 pm

mcfox

Obrigado por ter respondido.

Sobre editar o RC e tirar as linhas, eu já venho fazendo isso. Mais como configurar o PELLES´C para que não gere estas linhas mais?

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Daniel Garcia-Gil » Tue Nov 04, 2008 1:05 pm

no lo se :(
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Postby Carlos Mora » Tue Nov 04, 2008 2:28 pm

SGS,

Con que compilas? Usas un makefile?

en la erramienta que uses reemplaza el brc.exe de borland por el PORC.exe del pelles, y deja el resto igual. Funciona perfecto.

un saludo,

Carlos.
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Postby jrestojeda » Tue Nov 04, 2008 4:13 pm

Otro detalle, debes poner donde estaba el Brc.exe el Porc.exe y la Dll con ese mismo nombre, Porc.dll.
Estos dos archivos se encuentran en el directorio Bin de la instalación del Pellesc.

Espero te sirva.
Saludos, Esteban
Last edited by jrestojeda on Tue Nov 04, 2008 4:15 pm, edited 1 time in total.
User avatar
jrestojeda
 
Posts: 601
Joined: Wed Jul 04, 2007 3:51 pm
Location: Buenos Aires - Argentina

Postby MGA » Tue Nov 04, 2008 4:14 pm

Carlos Mora,

Muito obrigado por ter respondido.

Eu utilizo o xmate:

Fiz como você mandou e acontece estes erros:


xHarbour Compiler build 1.1.0 (SimpLex)
Copyright 1999-2008, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'w:\new\LIB0060.PRG'...
Lines 641, Functions/Procedures 2
Generating C source output to 'Obj\LIB0060.c'...
Done.
[1]:Bcc32.Exe -c -O2 -Ic:\Fwh802\INCLUDE;c:\xharb802\include;w:\new\fivewin;w:\new -Ic:\xharb802\Include;C:\BCC55\Include -nObj Obj\LIB0060.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Obj\LIB0060.c:
[1]:porc.Exe -r -foResource\SGR.Res RC\SGR.RC
PORC: RC\touch.rc(4): error: Unknown keyword: 'LANG_ENGLISH'.
PORC: RC\touch.rc(4): error: Unknown keyword: 'SUBLANG_ENGLISH_US'.
PORC: RC\touch.rc(7): error: BEGIN keyword expected (found: WS_POPUP).
PORC: RC\touch.rc(7): error: Invalid syntax.
PORC: RC\touch.rc(32): error: BEGIN keyword expected (found: WS_POPUP).
PORC: RC\touch.rc(32): error: Invalid syntax.
PORC: RC\touch.rc(44): error: Unknown keyword: 'LANG_PORTUGUESE'.
PORC: RC\touch.rc(44): error: Unknown keyword: 'SUBLANG_PORTUGUESE_BRAZILIAN'.
PORC: RC\touch.rc(47): error: BEGIN keyword expected (found: WS_POPUP).
PORC: RC\touch.rc(47): error: Invalid syntax.
PORC: RC\touch.rc(145): error: BEGIN keyword expected (found: WS_POPUP).
PORC: RC\touch.rc(145): error: Invalid syntax.
PORC: RC\touch.rc(146): fatal error: Feature not implemented.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Carlos Mora » Tue Nov 04, 2008 5:41 pm

Hola SGS

Yo uso un makefile, y en la línea que compila reemplacé brc.exe por

"C:\Program Files\PellesC\Bin\PORC.EXE" $** /I "C:\Program Files\PellesC\include" /I "C:\Program Files\PellesC\include\win"

note los includes a los directorios include de PellesC

Un saludo

Carlos.
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Postby MGA » Tue Nov 04, 2008 5:44 pm

Muito obrigado Carlos. :D
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests