porting resource compiler .rc files to windres
Thursday, January 31st, 2008For MinGW, windres is the replacement for the rc resource compiler. Given a random .rc file, to compile it with MinGW the trick seems to be to insert the following:
// for windres
#include “winresrc.h”
#define IDC_STATIC (-1)
Done. Handy for cross-compiling these things from Linux.
