Displaying 20 results from an estimated 9000 matches similar to: "More on the description problem in win32-eventlog"
2007 Aug 23
0
Bug in win32-eventlog, grabbing descriptions
Hi all,
I know that once upon a time I said that we shouldn''t use
DONT_RESOLVE_DLL_REFERENCES (line 698), but it appears that this was
wrong headed thinking for win32-eventlog.
A couple of folks have complained that they couldn''t get descriptions
for event records in some cases, and I have a strong feeling that''s the
culprit.
Can anyone see a downside to using
2006 Dec 17
0
FormatMessage issue in eventlog.rb - more clues
Hi all,
Ok, I''m getting closer on this get_description failure and the
mscoree.dll file. It has something to do with the way we''re calling
FormatMessage(). Consider the following C code, which behaves exactly
the same way as the current Ruby code:
#include <windows.h>
#include <stdio.h>
int main(){
HMODULE hmod;
int rv;
char buf[4096];
char* dll
2004 Oct 13
4
win32-eventlog problem
Hi all,
I''ve logged a new bug for win32-eventlog based on Joey Gibson''s ruby talk
post (116528). Park, I''ve assigned it to you for now, figuring that you''re
probably the one who best knows how to fix it.
All help welcome.
Dan
2006 May 17
1
Need a little help with the pure Ruby win32-eventlog
Hi all,
I''m working on the EventLog#read method for the pure Ruby version of
win32-eventlog, but I''m stuck on the get_description private method.
Here are the problems:
* I don''t think I''m advancing the EVENTLOGRECORD properly between
iterations. Take a look at the end of the "while dwread > 0" loop. I
get some records, but not all of them.
2007 Dec 05
21
Fwd: win32/process problem
Any ideas?
---------- Forwarded message ----------
From: Christian Kerth <christian.ke... at dynamicmedia.at>
Date: Dec 5, 8:28 am
Subject: win32/process problem
To: comp.lang.ruby
I have an application that consists of serveral independent parts.
I want to use the Windows Process API to spawn the different
processes.
e.g.
require ''rubygems''
require
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Berger, Daniel
> Sent: Wednesday, May 17, 2006 12:07 PM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Need a little help with the
> pureRubywin32-eventlog
>
>
> >
2011 Feb 02
0
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Bugs item #28904, was opened at 2011-02-02 18:41
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85
Category: win32-eventlog
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Jason Bourne (jbourne)
Assigned to: Nobody (None)
Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Initial Comment:
1.Requirement:
2004 Nov 01
0
buffer size for win32-eventlog (was infiniteloop bug...)
Thank you very much. :)
Dan
> -----Original Message-----
> From: win32utils-devel-bounces@rubyforge.org
> [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
> win32utils-devel@rubyforge.org
> Sent: Friday, October 29, 2004 7:12 PM
> To: win32utils-devel@rubyforge.org
> Subject: Re:[Win32utils-devel] buffer size for win32-eventlog
> (was infiniteloop bug...)
2004 Oct 18
0
RE: Another Interesting "Problem" with Win32-EventLog
> -----Original Message-----
> From: Joey Gibson [mailto:joey@joeygibson.com]
> Sent: Monday, October 18, 2004 10:07 AM
> To: Berger, Daniel
> Cc: win32utils-devel@rubyforge.org
> Subject: Re: Another Interesting "Problem" with Win32-EventLog
>
>
> Berger, Daniel wrote:
>
> > I cannot duplicate this on my Windows XP Pro box here at work.
> >
2011 Mar 02
2
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Bugs item #28904, was opened at 2011-02-02 10:41
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85
Category: win32-eventlog
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Jason Bourne (jbourne)
Assigned to: Nobody (None)
Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Initial Comment:
1.Requirement:
2004 Oct 19
0
RE: Another Interesting "Problem" with Win32-EventLog
> -----Original Message-----
> From: Joey Gibson [mailto:joey@joeygibson.com]
> Sent: Tuesday, October 19, 2004 6:11 AM
> To: ruby-talk@ruby-lang.org; Berger, Daniel
> Subject: Re: Another Interesting "Problem" with Win32-EventLog
>
>
> Daniel Berger wrote:
>
> >After getting home from work today I tried again on my home machine.
> >My
2006 May 30
1
seg on windows-pr-0.5.1 (was RE: win32-eventlog 0.4.0)
Pe?a wrote:
> Hi Dan,
> i get a segfault on windows-pr if i run mulitple tails by threading, one thread for each host i''m tailing.
>
> C:\family\ruby\win-eventlog>dtail.rb
> thread/tail-ing Security on host1
> thread/tail-ing Security on host2
> thread/tail-ing Security on host3
> thread/tail-ing Security on host4
> thread/tail-ing Security on host5
>
2008 May 17
2
Problem reading log with win32-eventlog - buffer too small
Hi all,
A user recently ran into an issue with win32-eventlog and the
EventLog#read method when reading a saved log file. It seems that
there''s an issue.
After some experimentation I found that the problem seems to be that the
initial buffer to ReadEventLog() in line 558 is too small, so it tries a
second call to ReadEventLog() with a larger buffer. The problem is that,
after I
2004 Oct 18
0
RE: Another Interesting "Problem" with Win32-EventLog
> -----Original Message-----
> From: Joey Gibson [mailto:joey@joeygibson.com]
> Sent: Monday, October 18, 2004 9:29 AM
> To: Ruby-Talk; Berger, Daniel
> Subject: Another Interesting "Problem" with Win32-EventLog
>
>
> After Daniel patched the Win32-EventLog code to properly handle
> "strange" event messages (I''ll leave it to Daniel to
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
Hi all,
Tim Uckun reported, and I''ve confirmed, that you can''t write to the
Windows PowerShell event source for some reason.
Tim thought it might be because of the 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
2007 Aug 25
2
Speeding up win32-eventlog
Hi all,
I released win32-eventlog 0.4.5 today. It''s still a bit on the slow
side. The profiler (and general testing) indicates that it''s line 696
that''s the major culprit:
va_list = str.split(0.chr)[0...num]
Other than changing 0.chr to a literal "\0", does anyone have a way to
speed this up?
It''s not crucial, but I thought it might make a nice
2006 Aug 08
2
win32 eventlog dup
That''s weird. Line 296 is just a call to FormatMessage().
Folks on the mailing list - could this be a wide character issue? Buffer
too small maybe?
Regards,
Dan
Pe?a wrote:
> forgot:
>
> it segfaults on the win2k3 server (domain controller).
>
> it has _not_ segfault on my winxp pro though.
>
>
>
> # -----Original Message-----
> # From: Pe?a, Botp
2004 Jul 02
0
win32-eventlog-0.2.2 released
Hi all,
I''ve released 0.2.2 of win32-eventlog. There was a
rather nasty bug in the read() method I hadn''t noticed
before - it wasn''t reading all the records!
In addition, this package officially requires Ruby
1.8.0 or later, as I have replaced the STR2CSTR()
functions with StringValuePtr().
Let me know if you find any bugs. Thanks.
Dan
2006 May 30
1
Syslogging and remote installer (was RE: seg on windows-pr-0.5.1 (was RE: win32-eventlog 0.4.0))
Hi again,
Pe?a wrote:
> # > i get a segfault on windows-pr if i run mulitple tails by
> # threading, one thread for each host i''m tailing.
>
> argh, this is getting tricky. i''m getting empty records and weird characters too :)
>
> --------
> record_number : 20983290
> time_generated : Tue May 30 16:15:27 China Standard Time 2006
> time_written :
2006 May 17
0
Need a little help with the pure Rubywin32-eventlog
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Heesob Park
> Sent: Tuesday, May 16, 2006 9:51 PM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Need a little help with the
> pure Rubywin32-eventlog
>
>
> Hi,
>
>