Displaying 3 results from an estimated 3 matches for "event_message_fil".
Did you mean:
event_message_file
2006 May 21
6
Possible problems with EventLog#write
...sh
warning
.
MessageId=0x3
Severity=Error
SymbolicName=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 =>...
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...9; 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''
)
EventLog.open(''Windows PowerShell'') do |log|
log.report_event(
:source => "foo",
:event_type => EventLog::WARN,
:category => &qu...
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