Displaying 20 results from an estimated 8000 matches similar to: "win32 eventlog dup"
2006 May 10
5
[Fwd: tailing error]
-------------- next part --------------
An embedded message was scrubbed...
From: =?iso-8859-1?Q?Pe=F1a=2C_Botp?= <botp at delmonte-phil.com>
Subject: tailing error
Date: Tue, 9 May 2006 11:21:03 +0800
Size: 1852
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060509/45783cb1/attachment.eml
2006 Dec 14
11
Tweak to win32-eventlog
All,
I got a bug report from Greg Holmes where the description wasn''t being
returned properly. At the moment, if there''s no event associated with
the event id, then the description is empty.
However, it turns out that there can still be associated information
about the event. So, I propose the following tweak to the
get_description private method:
# If FormatMessage()
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
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
>
>
> >
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 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 Jan 05
7
[Fwd: [win32utils-help][6822] Eventlog problem]
Dang, I thought we solved this.
Any ideas?
Dan
PS - I realized after reading this I forgot to bump the version number
for 0.3.3 - I''ve uploaded a new zip file with the correct version number.
-------------- next part --------------
An embedded message was scrubbed...
From: alain Fioretti <noreply at rubyforge.org>
Subject: [win32utils-help][6822] Eventlog problem
Date: Thu, 5
2006 May 21
6
Possible problems with EventLog#write
Hi,
I''ve got EventLog#write and EventLog.add_event_source methods done.
Well, I *think* they''re done, but I can''t get the data (text) to work
properly, and I''m not sure if it''s a bug in my .mc file, the
add_event_source method, the write method, or just a goof in my test file.
The source, category and event id seem to be ok. However, the
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
>
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
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
2006 May 29
3
[ win32utils-Bugs-4598 ] possible wrong condition
Bugs item #4598, was opened at 2006-05-29 11:20
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=4598&group_id=85
Category: win32-eventlog
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: possible wrong condition
Initial Comment:
Is this condition right?
(eventlog.rb, line 494
2007 Dec 27
3
[ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
Bugs item #16648, was opened at 2007-12-27 13:58
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85
Category: win32-service
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Cannot find the file specified with Service.services
Initial Comment:
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85
Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Nobody (None)
Summary: Segmentation fault under Windows
Initial Comment:
I''m trying to make
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,
>
>
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 20
1
EventLog#tail followup
The solution I see is something like this:
* Set a @last instance variable in the constructor.
* In the read_last_record function, check to see if @last is nil. If it
is nil, then it''s our first read. Use the current approach, and set
@last to the record number.
* If @last isn''t nil, use EVENTLOG_FORWARDS_READ | EVENTLOG_SEEK_READ
flags instead, and use @last + 1 as the
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it
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 :