Re: [Dev-C++] Installing LCC resource editor for Dev C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Yeoh H. <ye...@ye...> - 2002-11-13 06:21:40
|
Hi Napoleon, Yes, it is possible to install just the LCC-Win32's Visual Resource Editor without having to install the complete LCC-Win32 compiler system. I remember seeing such a package on the V GUI website some time ago. It contains only the resource editor from LCC-Win32's package. It is packaged in a zip file. Sorry I don't have the V GUI URL on hand but you can locate it through this link http://www.atai.org/guitool/. In my case, I've installed the complete LCC-Win32 compiler system and the documentation. Although I don't use the compiler, I find the documentation very useful. In the past, I had used the compiler to generate Win32 template applications and then re-organize the code by hand. :-) The LCC-Win32's Visual Resource Editor can generate both .rc and .res files and also the C callback function templates. But I use it to generate .rc files only. Then I use Dev-C++ to compile it and link to produce an executable program. The program is a bit tricky to use with Dev-C++. I have LCC-Win32 Version 3.3 installed and its resource editor automatically generates a resource file that contains these at the top: /* Wedit generated resource file */ #ifdef __LCC__ #include <windows.h> #endif #include "dlgtemplres.h" When I use Dev-C++ to compile this resource file, I got an error message. [Resource Error] parse error. Somehow windres.exe, the resource compiler, is not able to compile. To solve this problem, here's how I did it. Go to Dev-C++ menu options: Tools -> Compiler Options -> Programs In the textbox windres: windres.exe -D __LCC__ I've added the command line options -D __LCC__. This will eliminate the error. At first I tried to delete the _LCC_ defines leaving only #include <windows.h> but I find that LCC-Win32's resource editor automatically writes the same header every time I save the .rc file. Okay, sorry for this long post. I hope this helps. Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |