[fpc-pascal] TEventLog, RegisterMessageFile and {$R fclel.res}

Reinier Olislagers reinierolislagers at gmail.com
Sat Feb 16 11:53:33 CET 2013

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}

However, on compiling I get a "can't open resource file" error.

Is copying over
to the application directory the best solution?


More information about the fpc-pascal mailing list