Re: [Mono-dev] local file based EventLog implementation

2006-08-21 Thread Atsushi Eno
What is more important to know is that this extra dll is "required" only for Win32 mode of the implementation. If I wrote about it, I'd have never said it is "required". Atsushi Eno Robert Jordan wrote: > Hello, > > Miguel de Icaza wrote: >>> I'd prefer the "pure" approach, meaning using your o

Re: [Mono-dev] local file based EventLog implementation

2006-08-21 Thread Gert Driesen
- Original Message - From: "Robert Jordan" <[EMAIL PROTECTED]> To: Sent: Monday, August 21, 2006 2:02 PM Subject: Re: [Mono-dev] local file based EventLog implementation > Hello, > > Miguel de Icaza wrote: >>> I'd prefer the "

Re: [Mono-dev] local file based EventLog implementation

2006-08-21 Thread Robert Jordan
Hello, Miguel de Icaza wrote: >> I'd prefer the "pure" approach, meaning using your original >> EventLogMessages.dll. >> >> But we need approval from Miguel on this. > > Someone please send me a summary ;-) > > My feeling: I dont know why we need another dll. 1) The Win32-EventLog doesn't log

Re: [Mono-dev] local file based EventLog implementation

2006-08-20 Thread Miguel de Icaza
Hello, > I'd prefer the "pure" approach, meaning using your original > EventLogMessages.dll. > > But we need approval from Miguel on this. Someone please send me a summary ;-) My feeling: I dont know why we need another dll. Miguel ___ Mono-devel-li

Re: [Mono-dev] local file based EventLog implementation

2006-08-20 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: zondag 20 augustus 2006 19:01 > To: Gert Driesen; 'Robert Jordan'; mono-devel-list@lists.ximian.com > Subject: Re: [Mono-de

Re: [Mono-dev] local file based EventLog implementation

2006-08-20 Thread Kornél Pál
>> > b) adding EventLogMessages.dll to the binary distributions (for >> win32, >> > and linux too) >> > >> > If we do not get approval for (b) (not sure why, but could be >> > ofcourse), then we could still embed the dll into the System assembly > > and extract it at runtime (if it doesn't exist ye

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Robert Jordan > Sent: vrijdag 18 augustus 2006 16:19 > To: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based EventLog implementation >

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Robert Jordan
Gert Driesen wrote: > b) adding EventLogMessages.dll to the binary distributions (for win32, and > linux too) > > If we do not get approval for (b) (not sure why, but could be ofcourse), > then we could still embed the dll into the System assembly and extract it at > runtime (if it doesn't exist y

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Gert Driesen > Sent: vrijdag 18 augustus 2006 11:26 > To: 'Kornél Pál' > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local fil

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: vrijdag 18 augustus 2006 10:45 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based Ev

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Kornél Pál
>That would be great, but we still need to wait for approval from Miguel >first. You can make sure that nothing will be approved until 1.1.17 is released so you don't have to hurry. And it's much easier to get approval for a properly working, complete patch than a partial one. Kornél

Re: [Mono-dev] local file based EventLog implementation

2006-08-18 Thread Gert Driesen
> -Original Message- > From: Kornél Pál [mailto:[EMAIL PROTECTED] > Sent: vrijdag 18 augustus 2006 3:51 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based EventLog implementation > > >You could have a look at

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Kornél Pál
>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

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Gert Driesen
> -Original Message- > From: Kornél Pál [mailto:[EMAIL PROTECTED] > Sent: donderdag 17 augustus 2006 21:47 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based EventLog implementation > > >> On Windows it is

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Kornél Pál
>> On Windows it is required. OK, it can have any name but Windows API >> requires a message DLL and no message DLL can be specified using >> managed API so this is transparent to managed applications. > >It is not required. I have it working perfectly fine without one. It sounds weird to me. Coul

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: donderdag 17 augustus 2006 21:15 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based Ev

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Kornél Pál
Hi, >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 lo

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: donderdag 17 augustus 2006 19:59 > To: Gert Driesen; 'Atsushi Eno' > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Kornél Pál
Hi, >> 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 every

Re: [Mono-dev] local file based EventLog implementation

2006-08-17 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: woensdag 9 augustus 2006 12:25 > To: Gert Driesen; 'Atsushi Eno' > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono

Re: [Mono-dev] local file based EventLog implementation

2006-08-10 Thread Kornél Pál
>It's clear to me, but we'll need to see how we distribute this file (on >Windows) and locate it. I think the easiest solution is to put the DLL to the directory of mscorlib.dll. This lets us use different version based on framework version (altough it's not currently required but MS.NET does th

Re: [Mono-dev] local file based EventLog implementation

2006-08-10 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: woensdag 9 augustus 2006 12:25 > To: Gert Driesen; 'Atsushi Eno' > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Gert Driesen
Gert > Gert Driesen wrote: > > > >> -Original Message- > >> From: [EMAIL PROTECTED] > >> [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of > >> Kornél Pál > >> Sent: woensdag 9 augustus 2006 10:10 > >> To: Atsushi Eno >

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Atsushi Eno
- >> [EMAIL PROTECTED] On Behalf Of Kornél Pál >> Sent: woensdag 9 augustus 2006 10:10 >> To: Atsushi Eno >> Cc: mono-devel-list@lists.ximian.com; Gert Driesen >> Subject: Re: [Mono-dev] local file based EventLog implementation >> >> Hi, >> >>>

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Kornél Pál
> Yeah I read it, but I think there is no answer to my question there. > What I meant is that I think those Windows event log API would already > take those messages into their returning strings, so I don't think our > code does not have to load that EventLogMessages.dll and rip messages > from it.

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Kornél Pál > Sent: woensdag 9 augustus 2006 10:10 > To: Atsushi Eno > Cc: mono-devel-list@lists.ximian.com; Gert Driesen > Subject: Re: [Mono-dev] loca

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Atsushi Eno
Hi, Kornél Pál wrote: >>> And there is another important thing: Messages have to come from a >>> DLL file. >> >> I never tried it, but isn't it achieved when we use Windows Event >> Logging API? > > This is how it is achieved in MS.NET: >>> MS.NET has a file called EventLogMessages.dll that cont

Re: [Mono-dev] local file based EventLog implementation

2006-08-09 Thread Kornél Pál
Hi, >> And there is another important thing: Messages have to come from a DLL >> file. > > I never tried it, but isn't it achieved when we use Windows Event > Logging API? This is how it is achieved in MS.NET: >>MS.NET has a file called EventLogMessages.dll that contains a message >>table resou

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hello, Kornél Pál wrote: > You are right, events are not stored in registry: > http://support.microsoft.com/kb/315417/ > > And the source has to be added using registry API: > http://windowssdk.msdn.microsoft.com/en-us/library/ms684029.aspx > http://windowssdk.msdn.microsoft.com/en-us/library/ms6

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hello, >>> I'm not sure if it's really necessary to have a separate >>> EventLogFactory abstraction, we could use a similar approach to the >>> one used for the Registry API; meaning, define an interface and >>> implementations of that interface and have EventLog pick the >>> implementation for d

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Kornél Pál
rnél - Original Message - From: "Gert Driesen" <[EMAIL PROTECTED]> To: "'Kornél Pál'" <[EMAIL PROTECTED]>; "'Atsushi Eno'" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 08, 2006 8:48 PM Subject: RE: [Mono-dev] local file

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Atsushi Eno > Sent: dinsdag 8 augustus 2006 19:47 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] local file based EventLog i

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
gt; - Original Message - > From: "Atsushi Eno" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, August 08, 2006 7:46 PM > Subject: Re: [Mono-dev] local file based EventLog implementation > > >

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Kornél Pál
t;> Sent: maandag 7 augustus 2006 3:58 >>> To: mono-devel-list@lists.ximian.com >>> Subject: [Mono-dev] local file based EventLog implementation >>> >>> Hi, >>> >>> During a consultation with a local customer I recently noticed that we >>>

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hi Gert, Thanks for the comments. Gert Driesen wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:mono-devel-list- >> [EMAIL PROTECTED] On Behalf Of Atsushi Eno >> Sent: maandag 7 augustus 2006 3:58 >> To: mono-devel-list@lists.ximian.com

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Atsushi Eno > Sent: maandag 7 augustus 2006 3:58 > To: mono-devel-list@lists.ximian.com > Subject: [Mono-dev] local file based EventLog implementation >

[Mono-dev] local file based EventLog implementation

2006-08-06 Thread Atsushi Eno
Hi, During a consultation with a local customer I recently noticed that we don't have EventLog implementation, while a basic framework has existed for years, which was intended to have some different implementations. Hence I implemented pretty simple stupid one, which works only for local machine.