Thanks, but I forgot one piece of info, I'm running XP Pro.
GetProcesses relies on the Perfmon counter stuff, so it's still worth
looking at your system to see if they're ok, even it's just something as
basic as running Perfmon, just to see if Perfmon can list processes ok.

Signature
Phil Wilson [MVP Windows Installer]
----
> Thanks, but I forgot one piece of info, I'm running XP Pro.
>
[quoted text clipped - 25 lines]
> > > I'm administrator on all tested systems. VS.NET 2003, .NET Framework
> > > 1.1.4322. Any ideas?
Floyd Burger - 04 May 2004 00:29 GMT
It's amazing what one forgets, I completely forgot about perfmon.
Perfmon.exe never runs, and the mmc plugin never gets past loading
perfmon.msc.
I went through the registry (under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services), searched for
"performance" and renamed all of the counter dlls to *.dll_, then re-ran
PerfMon. It came up fine. Then I went though each dll that I renamed and
renamed it back to the *.dll original name, trying PerfMon after each one.
Through this, I found that the MSFtpsvc and W3SVC counters (in ftpctrs2.dll
and w3ctrs.dll) were the ones that are causing the problem. Without those,
PerfMon, and my little sample, work great. Now, to find out why those are
broke...<g>
Phil, thanks for your help, I couldn't have found the problem without it.

Signature
Floyd Burger
> GetProcesses relies on the Perfmon counter stuff, so it's still worth
> looking at your system to see if they're ok, even it's just something as
[quoted text clipped - 31 lines]
> > > > I'm administrator on all tested systems. VS.NET 2003, .NET Framework
> > > > 1.1.4322. Any ideas?