I've been trying to write a Perl script
that uses the WMI OLE object WbemScripting.SWbemRefresher to
access TCP statistics -- using the WMI performance counter class Win32_PerfFormattedData_Tcpip_NetworkInterface.
I've got it working in _vbscript_ no
issues. But my Perl Win32::OLE translation
Please try your program with ActivePerl build 817. I fixed a bug in
Win32::OLE that would cause crashes in IE events, so this may be the
same thing.
Please confirm if the problem is gone in 817, or if it still happens.
Cheers,
-Jan
PS: Please use plain text instead of HTML for mailing list
You should submit this
to the PDK list. Ive tried changing the authentication level, etc. but
as far as I can tell your code is correct.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of D D Allen
Sent: Thursday, May 11, 2006 5:24
AM
To:
I subscribed to the PDK list... and
am copying it on this note.
I'm now suspicious that there's a type
(object class) mismatch problem. [Ok, I'm stretching for an explanation...]
When I look at the SwbemRefresher
class in Jan Dubois' Win32::OLE Type Library Browser, the AddEnum definition
is as
At 08:23 AM 5/11/2006 -0400, D D Allen wrote:
I've been trying to write a Perl script that uses the WMI OLE object
WbemScripting.SWbemRefresher to access TCP statistics -- using the WMI
performance counter class
Win32_PerfFormattedData_Tcpip_NetworkInterface.
When I try to run that code I get
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris Wagner
Sent: Thursday, May 11, 2006 2:53 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Re: WbemScripting.SWbemRefresher VBScript - Perl
At 08:23 AM 5/11/2006 -0400, D D Allen wrote:
I've
Hi,
If I go to http://ppm.activestate.com/BuildStatus/5.8-F.html and scroll down
to (say) the File-pushd module I can see that it failed to build on
hpux-pa-risc. And I can click on the 'FAIL' link and see why it failed.
Four lines further down I can see that FileHandle-Fmode also failed to
I dont think this issue is related
to the PDK, so please return further discussion to Perl-Win32-Users only.
I have no idea what is going on, but I can
reproduce the problem. If I rename netmon.pls to netmon.pls and execute it via
`cscript netmon.pls` then it works fine also. If anyone