Re: [Dev-C++] Question on .rc files in dev
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Elias P. <eli...@ao...> - 2001-11-08 18:00:16
|
> Whenever I attempt to put stuff in the .rc file of a project, I receive > parse errors like the one on line 4 of this code: > #include "resource.h" > > IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66 > STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU You should put #include <windows.h> as the first line of your .rc file, else you can't use defined values like WS_POPUP.. -- Elias Pschernig |