Solved

COM: CLSID from file?

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ assignment question 7 268
TCP/IP Socket - connection close results in data lost 14 152
HTTPSendRequest with WinINet delays on first call 11 80
learn programming 8 68
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

756 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