Alex Ionescu wrote:
Try ntoskrnl's .rc file.
Tried it and the "only" problem in this file is the Message Table. RC only accepts a .mc file as a message table, windres/wrc needs them in an own .rc file.
Anyway, I got it to build with both MinGW and MSVC this way:
#ifdef __GNUC__ #include "bugcodes.rc" #else 1 MESSAGETABLE "ntoskrnl.mc" #endif
But you're right, a true resource compiler, which completely supports the RC syntax would be better here.
Regards,
Colin