[Mono-dev] local file based EventLog implementation
gert.driesen at telenet.be
Thu Aug 17 14:26:50 EDT 2006
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-
> bounces at lists.ximian.com] On Behalf Of Kornél Pál
> Sent: donderdag 17 augustus 2006 19:59
> To: Gert Driesen; 'Atsushi Eno'
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] local file based EventLog implementation
> >> The attached EventLogMessages.zip contains my implementation of
> >> EventLogMessages.dll that is required when using Windows Event
> >> Logging API.
> >> Note that the included EventLogMessages.cmd (requires Platform SDK
> >> tools) is able to create EventLogMessages.dll.
> >> I hope now everyting is clear about this DLL file.
> >Do you happen to know if something comparable exists for unix ?
> Actually it's quite difficult to me to understand what are you going to
> implement on Unix.:)
Right now, the local file implementation (which will be used on unix, but
could also be used on windows) does not support any mechanism for looking up
messages using an eventID to perform placeholder replacement.
I do intend to support this for win32 using your supplied
EventLogMessages.dll by default, and third-party message resource dll's when
these are registered.
I just wondered whether there's a something similar to these message
resource dll's for unix. With this we could also support lookup of messages
from a resource file, and perform placeholder replacement on unix. This
would allow localization of eventlog messages, like we have on windows (if
third parties provide localized message resource dll's for their eventlog
We could ofcourse use managed resource assemblies for this purpose on unix.
> You can't use Windows API on Unix but you were talking about all the
> Everything I said is about the Windows API.
I know, and I intend to use that for the win32 eventlog implementation (if I
get approval from Miguel).
Right now, my implementation does not use EventLogMessages.dll, so you end
up with not so nice messages if you use the eventviewer.
Once I get approval for my patch, I'll discuss whether we can add this dll
to the installer (for windows).
> A EventLogMessages.dll is required if you want to use the Windows API.
It is not strictly required, but it would be better if we indeed use it.
More information about the Mono-devel-list