?How to unload system DLL?

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hello,
I am sorry if it's wrong place to post the question.
For testing purposes I need to temporarily unload/disable/unregister
PDH.DLL located in %SystemRoot%\system32 folder
Could some one please tell me if that could be done and how.
And yes, it's W2k Advance Server SP4.
Thanks in advance, Alex.
 
Thanks,
but it doesn't work. I get "DLLUnregisterServer entry point was not
found".
So the DLL cannot be registered/unregistered. Besides I checked the
Registry and it's not there (from registration standpoint)...
So the question remains: how to get rid of it for a while?
Any one? Please!
Alex.
 
The dll contains no DLLRegisterServer or DllUnregisterServer function hence
the error message. Possibly try setting the 'Performance Logs and Alerts'
service startup to disabled, restart for effect. Or tell us what you're
trying to accomplish.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Thanks,
| but it doesn't work. I get "DLLUnregisterServer entry point was not
| found".
| So the DLL cannot be registered/unregistered. Besides I checked the
| Registry and it's not there (from registration standpoint)...
| So the question remains: how to get rid of it for a while?
| Any one? Please!
| Alex.
 
Dave,
Thanks, I will try but probably this is not what I need.
Here is what I need to do.
We are working on an app that retrieves standard Windows performance
counters using either PERFDATA block (through Registry access) or PDH
APIs.
I have a set of counters that use PDH APIs. I have a bug in the app so
that PDH APIs fails (I have a box with not working PDH.DLL). I fixed
the bug by rewriting the code directing data retrieval to use Windows
Registry.
On a faulty box the fix works but need to have a reproducible case...
I though that by some way I could disable PDH.DLL on any box and test
two versions of the EXE: before fix and after to make sure that the
fix works on any box.
Please advice if there is a way to accomplish this.
Thanks in advance,
Alex.
 
Sorry, no idea here.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave,
| Thanks, I will try but probably this is not what I need.
| Here is what I need to do.
| We are working on an app that retrieves standard Windows performance
| counters using either PERFDATA block (through Registry access) or PDH
| APIs.
| I have a set of counters that use PDH APIs. I have a bug in the app so
| that PDH APIs fails (I have a box with not working PDH.DLL). I fixed
| the bug by rewriting the code directing data retrieval to use Windows
| Registry.
| On a faulty box the fix works but need to have a reproducible case...
| I though that by some way I could disable PDH.DLL on any box and test
| two versions of the EXE: before fix and after to make sure that the
| fix works on any box.
| Please advice if there is a way to accomplish this.
| Thanks in advance,
| Alex.
 
Dave,
Thanks,
Is it your final answer? :)
Maybe you could ask around about the issue?
Maybe someone else could add something?
Alex.
 
Hello,
I found this KB Article... link is below.
Does any one know if it would help?
http://support.microsoft.com/defaul...port/kb/articles/Q222/4/73.ASP&NoWebContent=1
Thanks Alex.

Dave,
Thanks,
Is it your final answer? :)
Maybe you could ask around about the issue?
Maybe someone else could add something?
Alex.

Dave Patrick said:
Sorry, no idea here.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
Back
Top