[Mono-dev] local file based EventLog implementation

Gert Driesen gert.driesen at telenet.be
Fri Aug 18 03:11:10 EDT 2006



> -----Original Message-----
> From: Kornél Pál [mailto:kornelpal at gmail.com]
> Sent: vrijdag 18 augustus 2006 3:51
> To: Gert Driesen
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] local file based EventLog implementation
> 
> >You could have a look at the patch(es) I sent to the list earlier this
> >week.
> >
> >If they are too large, I'll just send you the code for my
> Win32EventLog
> >implementation.
> 
> 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.

I'm still improving, and writing unit tests right now. I'll send you an
updated patch later this weekend.

> >> 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.

That would be great, but we still need to wait for approval from Miguel
first.

Gert




More information about the Mono-devel-list mailing list