search for: category_message_file

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

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
2006 May 21
6
Possible problems with EventLog#write
...e=FOO_ERROR Language=English Error: %1 . # add.rb dll_file = Dir.pwd + ''/foo.dll'' EventLog.add_event_source( "key_name" => "foo", "category_count" => 2, "event_message_file" => dll_file, "category_message_file" => dll_file ) # test.rb require ''win32/eventlog'' include Win32 log = EventLog.open log.write( :source => ''foo'', :data => ''test'', :category => 0x2, :event_id => 0x3, :event_type => Even...
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...in32/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'' ) EventLog.open(''Windows PowerShell'') do |log| log.report_event( :source => "foo", :event_type => EventLog::WARN, :category => "0x00000002L".hex, :event_id => "0x0000000...