Archived

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

orcblood

DevC++ and resource Dialogs

Recommended Posts

orcblood    122
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 this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
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.


Share this post


Link to post
Share on other sites