•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 426,011 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,611 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 261 | Replies: 7 | Solved
![]() |
Hi, I have been trying to make a dialog, but I keep getting an error. I'm using Dev-C++ 4.9.9.2, and I get this error "[Resource error] syntax error". Here's my code for the dialog:
IDD_CONNECT DIALOG DISCARDABLE 0, 0, 300, 250
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Connect"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "Connect",IDOK,174,18,50,14
PUSHBUTTON "Cancel",IDCANCEL,174,35,50,14
GROUPBOX "Connect Information...",IDC_STATIC,7,7,225,52
CTEXT "Enter the host/IP to connect to and click connect",
IDC_STATIC,16,18,144,33
END "I'm not dumb. I just have a command of thoroughly useless information."
- Calvin, of Calvin and Hobbes
- Calvin, of Calvin and Hobbes
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,174
Reputation:
Rep Power: 38
Solved Threads: 930
You should be asking these people. I don't think Dev-C++ knows how to compile the resource files, but there are several free resource compilers available via google.
I think it's about time we voted for senators with breasts. After all, we've been voting for boobs long enough. ~Clarie Sargent, Arizona senatorial candidate
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
It can compile the input box dialog here: http://www.codeproject.com/KB/dialog/w32inputbox_1.aspx. That uses resources, so I don't think that's the problem. If you don't have a code project account, I have attached the files. The dev-c++ compiled file is program1.exe.
Last edited by TheBeast32 : Jul 22nd, 2008 at 9:59 pm.
"I'm not dumb. I just have a command of thoroughly useless information."
- Calvin, of Calvin and Hobbes
- Calvin, of Calvin and Hobbes
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,174
Reputation:
Rep Power: 38
Solved Threads: 930
I got that *.zip file and tried to compile it, but Dev-C++ reports error that it cannot exec 'cc1'. It compiles the *.cpp files ok, but pukes at the resource file(s).
I think it's about time we voted for senators with breasts. After all, we've been voting for boobs long enough. ~Clarie Sargent, Arizona senatorial candidate
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Send data on a serial port (C++)
- Cannot find server or DNS Error - please help! (Viruses, Spyware and other Nasties)
- Dialog Style problem (C)
- Simulate Mouse Move (C++)
- Dialog Box problems (C)
- Createdialog_box Error. (C)
- WIN32 GUI application - Problem popping up dialog box (C++)
- Another Trojan.Bookmarker.Gen (Viruses, Spyware and other Nasties)
- Displaying a different bitmap in different child windows? - win32 in C (C)
Other Threads in the C++ Forum
- Previous Thread: error Using Enum type and loops
- Next Thread: using an if inside a for loop



Linear Mode