How to find CLSID of a DLL

Run_Command_With_regedit

In this post we will discuss we can find the CLSID of a DLL. A CLSID is a global unique identifier that identifies a COM class object. You may need to register and know the CLSID of a particular DLL when you work with COM especially when your server allows linking to its embedded objects. I had the same situation to know the CLSID of a DLL.

How to find CLSID of a DLL

Go to start and select Run, or you Press Windows key + R. And type regedit.

Run_Command_With_regedit

Run_Command_With_regedit

Click Yes, if you get any pop up as follows.

regedit_pop_up

regedit_pop_up

Select HKEY_CLASSES_ROOT from the list.

Select_HKEY_CLASSES_ROOT

Select_HKEY_CLASSES_ROOT

Now search for your DLL name. In my case it was MyWindowsControl. You can find a folder called CLSID under your DLL name.

CLSID_Folder

CLSID_Folder

On the right side you can see a column ‘Data’, that is your CLSID.

CLSID

CLSID

Conclusion

Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.

Your turn. What do you think?

A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.

Kindest Regards
Sibeesh Venu

Leave a Reply

Your email address will not be published. Required fields are marked *

Serverless 360