search for: add_event_source

Displaying 3 results from an estimated 3 matches for "add_event_source".

2006 May 21
6
Possible problems with EventLog#write
Hi, I''ve got EventLog#write and EventLog.add_event_source methods done. Well, I *think* they''re done, but I can''t get the data (text) to work properly, and I''m not sure if it''s a bug in my .mc file, the add_event_source method, the write method, or just a goof in my test file. The source, category and event id seem...
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...he space in the name, but my attempt to quote it did not seem to help. In order to follow along, install PowerShell, create the foo.dll using the foo.mc file in the ''test'' directory, and try the following code: require ''win32/eventlog'' include Win32 EventLog.add_event_source( :source => ''Windows PowerShell'', :key_name => ''foo'', :category_count => 2, :event_message_file => ''foo.dll'', :category_message_file => ''foo.dll'' ) Event...
2007 Dec 04
4
eventlog
Hi, Hm, the string inserts are different, too. Any encoding issues? Your user name uses extended ASCII, too, right? Not sure if that''s significant or not. I''ve cc''d the win32utils-devel list to see if anyone has any ideas. Thanks, Dan botp wrote: > On 12/4/07, Daniel Berger <djberg96 at gmail.com> wrote: >> Can you tell us which record numbers in