• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 497
  • Last Modified:

COM: CLSID from file?

I need a method of figuring out what CLSIDs are exposed from a given DLL or OCX.
0
rayb
Asked:
rayb
  • 2
1 Solution
 
jkrCommented:
Do you need to do this programmatically?
0
 
raybAuthor Commented:
Yeah, programmatically.
WIN32, Visual C++.
I can think of some hard ways to do it, but was wondering if anybody had an easy way.

0
 
jbalagopCommented:
SInce the Registered DLLs and OCXs are found in the registry, a good approach would be to probably search the HKEY_CLASSES_ROOT (which is just one branch of the registry that contains the classids and dll names). If you would like to know how to pharse the registry, let me know. hope this helps.


0
 
raybAuthor Commented:
Thanks for the response.  Sorry, I'm only handing you a 'b', that's the only answer I could come up with myself.  Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now