Skip to main content
gamedev.net
🔒 Locked

DevC++ and resource Dialogs

Started by orcblood Jan 23, 2004 at 10:06 AM 0 replies 2k views
Original Post
orcblood
orcblood
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.