Solved

COM: CLSID from file?

Posted on 1998-10-08
4
484 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 20 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

776 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