From: Andres Hidalgo Date: 2001-06-22T10:37:00+09:00 Subject: [ruby-talk:16736] Re: Win32 EventLog ------=_NextPart_001_0000_01C0FA98.D5879760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'am currently working on an eventlog extension, and have already 90% com= plete an extension to deal with NT services (NT4 and W2K), all written in ruby-= c Let me know how I can distribute this modules to the public. Andres ----- Original Message ----- From: ptkwt@shell1.aracnet.com Sent: Thursday, June 21, 2001 4:43 PM To: ruby-talk@ruby-lang.org; undisclosed-recipients: ; Subject: [ruby-talk:16724] Re: Win32 EventLog In article , Mark Hudson wrote: >Are there any Ruby applications similar to the Win32 modules in Perl? >I would like to be able to read/process messages from an NT event log >using Ruby. Any info would be appreciated. I've set up a project on SourceForge for Win32 modules/extensions for Ruby. Right now there's not much there, in fact there are only three functions in the module so far: IsNT? - returns true if you're running on WinNT or Win2K Is9x? - returns true if you're running on Win9x (and probably on WinME as well, but haven't tried) TimedSystem - a system command with a timer. After the timeout has been reached it sends a '^C' to the process' input handle and if that still doesn't work it sends a terminateprocess to it. In a few weeks I'll have a lot more time to work on this - ultimately I hope to duplicate a big chunc of Perl's Win32 module functionality, but it'll take time. Phil

Get your FREE download of MSN Explorer at http://explorer.msn.com

------=_NextPart_001_0000_01C0FA98.D5879760 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'am currently= working on an eventlog extension, and have already 90% complete
an extension to deal with NT services (NT4 and W2K), all written in ru= by-c
 
Let me know how I can distribute this m= odules to the public.
 
Andres
=
----- Original Message -----
From:&n= bsp;ptkwt@shell1.aracnet.com
Sen= t: Thursday, June 21, 2001 4:43 PM
To: ruby-talk@ruby-lang.org; undisclosed-recipients:= ;
Subject: [ruby-talk:= 16724] Re: Win32 EventLog

In article <e1366d2e.01= 06201405.152a488b@posting.google.com>,
Mark Hudson <mark@iot.com= > wrote:
>Are there any Ruby applications similar to the Win32 m= odules in Perl?
>I would like to be able to read/process messages f= rom an NT event log
>using Ruby.  Any info would be appreciate= d.

I've set up a project on SourceForge for Win32 modules/extensio= ns for
Ruby.  Right now there's not much there, in fact there are= only three
functions in the module so far:
IsNT? - returns true if= you're running on WinNT or Win2K
Is9x? - returns true if you're runni= ng on Win9x (and probably on WinME as
     &n= bsp;  well, but haven't tried)
TimedSystem - a system command wit= h a timer.  After the timeout has been
    &n= bsp; reached it sends a '^C' to the process' input handle and if that
=       still doesn't work it sends a terminatepro= cess to it.

In a few weeks I'll have a lot more time to work on th= is - ultimately I
hope to duplicate a big chunc of Perl's Win32 module= functionality, but
it'll take time.

Phil



Get your FREE download = of MSN Explorer at http://explorer.ms= n.com

------=_NextPart_001_0000_01C0FA98.D5879760--