Is it possible to edit the RC-file with pelles, and still compile it with BCC.
If I open a RC-file created with Workshop, and save it with PelesC, it look different.
PellesC add those lines
- Code: Select all Expand view
- #include <windows.h>
#include <commctrl.h>
#include <richedit.h>
It also change my bitmaps from
- Code: Select all Expand view
- OPENDB ICON c:\_vmsdata\fwh\projects\tpsdoc\prg\icons\opendb.ico
to
- Code: Select all Expand view
- OPENDB ICON "..\\..\\tpsdoc\\prg\\icons\\opendb.ico"
with a result, the compile can't find it.
Also a dialog like
- Code: Select all Expand view
- INSTGEBRUIKINV DIALOG 6, 15, 232, 91
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Ingave"
FONT 8, "MS Sans Serif"
{
EDITTEXT 101, 51, 18, 68, 12
EDITTEXT 102, 51, 33, 68, 12, ES_PASSWORD | WS_BORDER | WS_TABSTOP
EDITTEXT 103, 51, 48, 158, 12
CHECKBOX "Volledige toegang", 104, 132, 21, 71, 8, BS_AUTOCHECKBOX | WS_TABSTOP
PUSHBUTTON "OK", 1000, 51, 73, 50, 14
PUSHBUTTON "Annuleer", 1001, 114, 73, 50, 14
RTEXT "LoginID :", -1, 8, 20, 41, 8
RTEXT "Passwoord :", -1, 9, 35, 40, 8
RTEXT "Naam :", -1, 8, 50, 41, 8
GROUPBOX "Gebruiker", -1, 9, 7, 213, 61, BS_GROUPBOX
}
is changed to
- Code: Select all Expand view
- INSTGEBRUIKINV DIALOG DISCARDABLE 6, 15, 232, 91
STYLE WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Ingave"
FONT 8, "MS Sans Serif"
{
CONTROL "", 101, "Edit", WS_BORDER|WS_TABSTOP, 51, 18, 68, 12
CONTROL "", 102, "Edit", ES_PASSWORD|WS_BORDER|WS_TABSTOP, 51, 33, 68, 12
CONTROL "", 103, "Edit", WS_BORDER|WS_TABSTOP, 51, 48, 158, 12
CONTROL "Volledige toegang", 104, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 132, 21, 71, 8
CONTROL "OK", 1000, "Button", WS_TABSTOP, 51, 73, 50, 14
CONTROL "Annuleer", 1001, "Button", WS_TABSTOP, 114, 73, 50, 14
CONTROL "LoginID :", -1, "Static", SS_RIGHT|WS_GROUP, 8, 20, 41, 8
CONTROL "Passwoord :", -1, "Static", SS_RIGHT|WS_GROUP, 9, 35, 40, 8
CONTROL "Naam :", -1, "Static", SS_RIGHT|WS_GROUP, 8, 50, 41, 8
CONTROL "Gebruiker", -1, "Button", BS_GROUPBOX, 9, 7, 213, 61
}
Do I have to compile the RC with something else then BCC?
Thanks