My application is using Pdh.dll it is openeing a reg key HKLM\SYSTEM\ControlSet001\Services\FileReplicaSet\Performance a lot of time which is causing handle leak.
is there a way i can forcefully close this key using c++.
thanks
anuj
Printable View
My application is using Pdh.dll it is openeing a reg key HKLM\SYSTEM\ControlSet001\Services\FileReplicaSet\Performance a lot of time which is causing handle leak.
is there a way i can forcefully close this key using c++.
thanks
anuj
Doing something forcefully and circumventing some official API is not recommended and should be avoided as much as possible. You need to find the real reason and fix it.