[Win32utils-devel] [Fwd: [win32utils-help][6822] Eventlog problem]
Daniel Berger
djberg96 at gmail.com
Sun Jan 8 15:52:47 EST 2006
Park Heesob wrote:
>Hi,
>On Sat, 07 Jan 2006 11:37:11 -0700, Daniel Berger wrote
>
>
>>No, it didn't work for me. It looks more like a problem with the
>>allocation scheme, i.e calling eventlog_allocate() directly. That's
>>what changed from 0.2.4 to 0.2.5. It doesn't look like instance
>>variables set in open_backup are getting set properly. When I try to
>>print out @source in eventlog_iread, it's null, and I don't know why.
>>I'm actually confused in general by what the proper way to instantiate
>>an object is on the C side now, since there are now about 6 different
>>approaches one could take, and I don't know what the best one is.
>>
>>I'll have to find a way to add tests for this into the tc_eventlog.rb
>>test case, though I had problems making it work last time.
>>
>>I'll keep hammering at it.
>>
>>
>>
>If your @source is null, it's because you omitted it.
>
>You must specify source like this:
>e = EventLog.open_backup("c:\\system.bak","System")
>
>Regards,
>
>Park Heesob
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>win32utils-devel mailing list
>win32utils-devel at rubyforge.org
>http://rubyforge.org/mailman/listinfo/win32utils-devel
>
>
Ok, nevermind all my thrashing about - everything's fixed in CVS, I
added some more tests, and I should have a release out shortly.
Dan
More information about the win32utils-devel
mailing list