search for: 0x00000003l

Displaying 1 result from an estimated 1 matches for "0x00000003l".

Did you mean: 0x00000003
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...sage_file => ''foo.dll'' ) EventLog.open(''Windows PowerShell'') do |log| log.report_event( :source => "foo", :event_type => EventLog::WARN, :category => "0x00000002L".hex, :event_id => "0x00000003L".hex, :data => "I''m warning you!" ) end As Tim mentioned, this doesn''t raise an error. It just doesn''t seem to do anything. Any ideas? Anything special about the Windows PowerShell source? In unrelated news, my attempts to replace Re...