Ok, i keep running into dead end after another with this resource file / defining.
Can someone give me some tips? Between the resource file format, not knowing what exactly i have to #define in the resource file, and that anytime i make progress Dev C++ just says i have a "Syntax Error" and thats it, which helps me none because the syntax is directly from the tutorial i am taking.
I have attached the Dev C++ Project and the Resource files, but for those who dont have Dev C++ or dont wanna dl, ect.., here is the resource file.
Keep in mind that i'm not too aware of what i need to define and what already is, ect.. And would appreciate advice on that too.Code:#include "resources.h" 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
Big Thanks to anyone who can dl and view my stuff, and tell me the hundred things i'm doing wrong. I was doing fine until i had to add the resource files, then the problems began. First DevC++ started given me junk about Untitled2.rc (which was the rc name it gave me before i saved it with a new name), and blahblah. I "think" i fixed that, but anyway, help this n00b lol
(FYI, i'm taking "the Forgers" tutorial which you can see via the dialog resource.)
i cant attach RC, .DEV, nor the .Zip that contained them all. So im using my host.
But none the less my cpp and headers are included.