Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find a DLL given a CLSID?

Tags:

dll

clsid

I have a situation in which a managed DLL calls some unmanaged DLL. I know the CLSID of the unmanaged DLL, is there any way to find out what binary file houses that CLSID?

like image 395
dudemonkey Avatar asked May 22 '09 13:05

dudemonkey


People also ask

How do I find the CLSID of a DLL?

You can find a folder called CLSID under your DLL name. On the right side you can see a column 'Data', that is your CLSID.


2 Answers

Normaly, you can just go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\"GUID"

And find a key called "InProcServer32" for instance and there will be the default value that has the DLL. This is one simple way to do it.

like image 194
BobbyShaftoe Avatar answered Sep 20 '22 14:09

BobbyShaftoe


Can you not just search for it in the registry using regedit and look for the binary path.

like image 34
Simon Avatar answered Sep 20 '22 14:09

Simon