Hey guys,
Here is an idea for the resource compilation code.
I think the _private.h and _private.rc may be
unnecessary for Dev-C++. By not specifying an input file
to windres.exe, windres automatically assumes code is to
be passed via stdin. I tested it out just now and it
worked perfectly. The advantage being that it can
simplify projects a little more by removing the clutter of
IDE support files (unlike VC++).
Also, why is windres being passed -O coff instead of -O
res? res object code is more common and most resource
editting tools can open it.
Thanks =)
Kip
Logged In: YES
user_id=1142462
I tried with -O res, but linker seems to have problems
(DevC++ returns uknown filetype)...
Another good idea would be that resources compile each
time you click build project (even if it doesn't compile any .c
or .cpp files - only links the project), because I have to write
a .bat file for each project, because sometimes I just want to
test altered resource files - and without my .bat script I have
to rebuild entire project instead of compile .rc file (which
takes less than a second on 10 KB res files)...