Program closes when defining remote performance statement
2 posts · Closed
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.
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.