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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to