Program closes when defining remote performance statement

2 posts · Closed

rmpf2 Guest
1 May 2019

My OS: Win 10 64 bit
Every time I try to define a remote performance statement for logical drive c % free space, the program closes.

To be precise, I duplicate:

CPU Usage, %
\Processor(_Total)% Processor Time

and modify

CPU Usage, %
\LogicalDisk(C:)% Free Space

If I hit Ok, nothing happens. But if I latter try to rename CPU Usage, % to something else as LogicalDisk - C - % Free Space, the program closes after pressing Ok if there's already host data scanned.

Andrew SoftPerfect
2 May 2019

There seems to be an in issue with the Microsoft's functionality sitting in PDH.DLL, which we are using to display the performance counter selection dialog.

When we were testing this function, we encountered some odd memory errors (which in your case seem to lead to a program crash). It turns out this Microsoft DLL is full of bugs; someone else confirmed it in their article and there is more in the comments.

I will check if we can replace that with our own dialog.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Network Scanner if you have a similar question.