Skip Menu |

This queue is for tickets about the Win32-Process-Info CPAN distribution.

Report information
The Basics
Id: 8982
Status: resolved
Priority: 0/
Queue: Win32-Process-Info

People
Owner: Nobody in particular
Requestors: pmkumaar [...] starhub.net.sg
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.002
Fixed in: (no value)



Subject: BUG: PERL_WIN32_PROCESS_INFO_WMI_DEBUG_PRIV
Hi, Win32::Process::Info Version = 1.002 Setting the ENV Variable 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG_PRIV' to True does not provide additional "ExecutablePaths" under the "WMI" Variant. The Explanation Note in "Info.pm" suggests doing the above. I reckon the ENV Varible that has to be set to True should instead be: 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG' (The above assertion works and provides additional Executable paths under the WMI varaint). Is there a typo in the "Info.pm". Kindly verify if the "Info.pm" should replace references of 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG_PRIV' with 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG'. Thank you abd best regards. pmkumaar Show quoted text
>>
[guest - Fri Dec 17 23:17:19 2004]: Show quoted text
> > Hi, > > Win32::Process::Info Version = 1.002 > > Setting the ENV Variable 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG_PRIV' to > True does not provide additional "ExecutablePaths" under the "WMI" > Variant. > The Explanation Note in "Info.pm" suggests doing the above. > > I reckon the ENV Varible that has to be set to True should instead be: > 'PERL_WIN32_PROCESS_INFO_WMI_DEBUG'
Quite right. I'm going to call this a bug in the documentation, and fix the docs in the next release (promise!). I need to add that if you don't turn off the acquisition of the username and SID info when you turn on debug, you may get fatal errors. I have worked on this for a while, never ran it to earth, and have been inclined to put it down to a bug in WMI. Or in the OLE Variant classes. The direct API calls ('NT' variant) are much more robust - of course, that's what the next bug report is about. Oh, well ...