[Mono-dev] local file based EventLog implementation
kornelpal at gmail.com
Thu Aug 17 21:50:47 EDT 2006
>You could have a look at the patch(es) I sent to the list earlier this
>If they are too large, I'll just send you the code for my Win32EventLog
I can find it in the patch.:) And actually found it but this week I have no
time to go into details, I'll have a deeper look at it next week.
>> Right, I didn't noticed this addition to 2.0, sorry for the
>> desinformation.:) If you want full compatibility, PE files with
>> MessageTable resource (same format as on Windows) should be used. There
>> is no code so there is no reason to use different format.
>Ok, so these can be used on both Windows and Unix ?
The DLL file is used as a data file so the platform doen't matter. It can be
used easily on Windows using FormatMessage function. But requires PE file
processing on Unix as it has no native support for PE files and resources of
it. Structures required to read PE files and resources are documented in
Platform SDK and there are header files too. The runtime has some support to
read resources as well. If you need I'll help you more next week.
More information about the Mono-devel-list