Hi all,
While adapting some code to use Eventlog I found RegisterMessageFile, which the help helpfully explains (it registers the file used by Windows to show certain strings in the event viewer).
Decided I liked/needed that and did this:
{$R fclel.res}
...
FLog.RegisterMessageFile('');However, on compiling I get a "can't open resource file" error.
Is copying over
($fpcdir)\fcl-base\src\win\fclel.res
to the application directory the best solution?
Thanks,
Reinier
