I tried to use the resource compiler "brcc32" that comes with Delphi 5
and Delphi 2006 (both seem to be the same version) to compile a .rc file
which contains a message table. The compiler produced a .res file and I
included it in my res-only DLL project but I can't use it to view event
log messages and I also can't open the .res or .dll file using ResHacker
or XN Resource Editor.
What I'd like to do is to create a message catalog for Windows event log
messages without the need to use a third-party GUI resource editor.
Something similar to this Blog entry:
http://texhex.blogspot.com/2004/09/creating-event-message-file-for-event.html
Is this possible? What is the problem with the .res file generated by
Delphi resource compiler?
My .rc file looks like this:
1 MESSAGETABLE
{
0, "%1"
1, "Hello world:\n%1"
2, "Another hello:\n%1"
...
24, "Still hello:\n%1"
}
Kind regards,
Tobias