I have been coding the .rc for Borland C when I compile same .rc on DevC++ it gives me phrase Error in .rc...
So what are the KEYWORDS and RULEZ of DEVC++ resource compiler , I tried there web site but they tell nothing about it
Printable View
I have been coding the .rc for Borland C when I compile same .rc on DevC++ it gives me phrase Error in .rc...
So what are the KEYWORDS and RULEZ of DEVC++ resource compiler , I tried there web site but they tell nothing about it
>>phrase Error in .rc<<
Help us to help you - if you have a specific problem then please quote the exact error message and the line that error message refers to.
*************
MSDN: Resource definition statements.
Differences are minor but generally:
in your resource script for MinGW.Code:#include <windows.h>
#if !defined IDC_STATIC
#define IDC_STATIC -1
#endif
#include "your_resource_defines.h"
I think every body knows "prase error" compiler just tells me line number and tells me prase error in xxx.rc where xxx is name of your .rc file for example:
the DevC++ compiler gives me error hilighting lineCode:IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
GROUPBOX "About this program...",IDC_STATIC,7,7,225,52
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",
IDC_STATIC,16,18,144,33
END
and say prase error thats allCode:STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
By the way by dev C++ ver is 4.9.9.1
>>I think every body knows "prase error"<<
Nobody recognises "prase" errors, not even windres. :p
My previous suggestion, when applied, will fix that 'prase' error.
Quote:
Originally Posted by Ken Fitlike
what are you talking about?!?!?....i get praise errors all the time...l
ex:
Error: line 7 - "Good job! Seven lines in and i'm already confused! "