Re: [Dev-C++] (Win32) Resource troubles...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Yeoh H. <ye...@ye...> - 2002-11-13 02:17:37
|
Hi, I tried to compile both rc codes with Dev-C++ 4.9.6.8 and both do not compile. There were errors. Do you also have a resource header file? If so, what are the entries in your resource header file? For CTEXT, the second field should be the control ID. In this case IDC_STATIC. Usually this is defined in a resource header In EDITTEXT, the first field should be the control ID. I see you have used EAPP_VAR. This should also be defined in a resource header. Here are the few lines I've added to the top of the rc file and Dev-C++ now compiles without any errors. For example: #include <windows.h> #define IDC_STATIC 10000 #define EAPP_VAR 20000 Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |