-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris Wagner
Sent: Thursday, May 11, 2006 2:53 PM
To: [email protected]
Subject: Re: "WbemScripting.SWbemRefresher" VBScript -> Perl
>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 this error. I'm on 2000 SP4.
>
>Win32::OLE(0.1704) error 0x800401f3: "Invalid class string" at - line
11
> eval {...} called at - line 11
>
>That refers to my $objRefresher =
>Win32::OLE->new('WbemScripting.SWbemRefresher');.
When I run the example code I get the same output he gets. I suppose it
could be an XP thing. What version of ActivePerl are you using?
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs