Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

COM: CLSID from file?

Posted on 1998-10-08
4
Medium Priority
?
495 Views
Last Modified: 2008-03-06
I need a method of figuring out what CLSIDs are exposed from a given DLL or OCX.
0
Comment
Question by:rayb
  • 2
4 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 1174687
Do you need to do this programmatically?
0
 
LVL 2

Author Comment

by:rayb
ID: 1174688
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
 

Accepted Solution

by:
jbalagop earned 60 total points
ID: 1174689
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
 
LVL 2

Author Comment

by:rayb
ID: 1174690
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question