2018年8月9日 星期四

[C++] Issue by Get PdhCollectQueryData to 0xc0000bbc Fixed

In the Performance Data Helper (PDH) functions return.
Trying to use the Windows performance counters to get the virtual bytes usage of a specific process, then sometimes encountered 0xc0000bbc.

Check the %windir%\system32\perfmon.msc if the system cannot get performance counter, use command fixed, rebuild performance counter library value:
cmd.exe lodctr /r
cmd.exe lodctr /q
cmd.exe lodctr /e:Performance Counters
For the processing at that time, it will appear again, because the system program is damaged, need to be repaired or rebuilt.

沒有留言:

張貼留言