#### Archived

This topic is now archived and is closed to further replies.

# DevC++ and resource Dialogs

## Recommended Posts

Im attempting to use DevC++''s built-in resource editor to create a dialog for my simple program. Thus far, everthing that I have used in the resource editor has worked. However, it seems that the dialog resource part of the editor doesnt agree whenever I attempt to compile the resource file. Heres basically what I have created (its the same as the default dialog options that come up when you attempt to create a new dialog resource):
 100 DIALOG 0, 0, 200, 200
STYLE WS_VISIBLE | WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME
CAPTION "My Title"
FONT 8,"Helv"
BEGIN
END  
When I attempt to compile the file I recieve this error message: C:\DEV-C_~1\BIN\windres: C:\\WINDOWS\\DESKTOP\\GAMES\\ORCISH~2\\RSRC.RC:69: parse error
 STYLE WS_VISIBLE | WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME
Would anyone know how to fix this problem? I cant seem to find any tutorials on creating a dialog with DevC++''s resource editor... And DevC++ doesnt seem to like resource files form other programs such as borland C++. Thanks for any help.

##### Share on other sites
don''t know a solution but i suggest you post that message in the dev-c++ forum:

http://sourceforge.net/forum/forum.php?forum_id=48211

such questions seem to popup every other day there.

• ### Forum Statistics

• Total Topics
628332
• Total Posts
2982119

• 22
• 9
• 9
• 13
• 11