From: Danny B. <dan...@sc...> - 2009-07-21 07:44:42
|
On Tue, 2009-07-21 at 09:04 +0200, Ronald Pijnacker wrote: > What is the right way to convert a .rc so that it can be linked > in a dll or exe? > I tries windres to create a .res, but when I try to link this into > the dll or exe, gcc complains about an unknown file type. Probably not your platform but it ought to give you a clue : pavilion: {21} make clean rm -f *.o *.exe *.rsc pavilion: {22} make menu-resource.exe arm-mingw32ce-gcc -g -c menu-resource.c arm-mingw32ce-windres menu-resource.rc menu-resource.rsc arm-mingw32ce-gcc -g -o menu-resource.exe menu-resource.o menu-resource.rsc -lcommctrl pavilion: {23} Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |