G'Day,

 

I think I've uncovered a bug as I'm getting the following error message
when attempting to call the EnumValues method of the StdRegProv WMI
class:

 

Faulting application perl.exe, version 5.10.0.1002, faulting module
perl510.dll, version 5.10.0.1002, fault address 0x00074d42.

 

I'm also getting the error running the script on another server running
Perl v5.8.8 build 822:

 

Faulting application perl.exe, version 5.8.8.822, faulting module
perl58.dll, version 5.8.8.822, fault address 0x00064c84.

 

The attached script attempts to identify persistent routes in the target
computer's routing table.  It does so by enumerating the values under
the
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
registry key.  The script works when there are values under the key, but
craps out with the error message when the registry key is empty (i.e. no
persistent routes).

 

Thanks,

 

Larry

Attachment: EnumValues.pl
Description: EnumValues.pl

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to