Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

COM: CLSID from file?

Posted on 1998-10-08
4
Medium Priority
?
491 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

730 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