Hi,
I have stuck while retrieving all registered COM components (like references/components in VB IDE) in a single or easy way, So I added "comcat.h" in my project and using "stdComponentCategoriesMgr" I'm getting registered CLSID but it is category wise and implemented all CATID one by one.
EXTERN_C const CATID CATID_Insertable;
EXTERN_C const CATID CATID_Control;
EXTERN_C const CATID CATID_Programmable;
EXTERN_C const CATID CATID_IsShortcut;
EXTERN_C const CATID CATID_NeverShowExt;
EXTERN_C const CATID CATID_DocObject;
EXTERN_C const CATID CATID_Printable;
EXTERN_C const CATID CATID_RequiresDataPathHost;
EXTERN_C const CATID CATID_PersistsToMoniker;
EXTERN_C const CATID CATID_PersistsToStorage;
EXTERN_C const CATID CATID_PersistsToStreamInit;
EXTERN_C const CATID CATID_PersistsToStream;
EXTERN_C const CATID CATID_PersistsToMemory;
EXTERN_C const CATID CATID_PersistsToFile;
EXTERN_C const CATID CATID_PersistsToPropertyBag;
EXTERN_C const CATID CATID_InternetAware;
EXTERN_C const CATID CATID_DesignTimeUIActivatableControl;
Yet I'm not getting all registered COM components CLSID, specially when I search for how many "msxml" versions has been installed in my system.
How do I get all registered COM components CLSID or beside the way about I followed "stdComponentCategoriesMgr".
'
'
Language : Native VC++
Loading
Sam HobbsPosted Jul 29, 2011, 2:26 PM
NIBIR MISTRYPosted Jul 29, 2011, 2:07 PM
Does any one have any idea how do I get the list of all registered COM components ? I'm using Visual C++ (Native).
NIBIR MISTRYPosted Jun 13, 2011, 12:02 AM
Thanks for your attention, your suggestion is great but I dont want to go with any 3rd party api's or component , Want to achieve this only and only by native VC++ api's , I hope you get my point what I want and what the way about I'm following for getting the list.
Thanks & Regards
Nibir
NIBIR MISTRYPosted Jun 12, 2011, 11:57 PM
I want to get a list (name and progID) of registered references (.dll/.exe/.ocx) , It will be done from registry and by native VC++ I'm retrieving them but all registered references are not come from registry. I want to retrieve ALL.
Regards
Nibir
Sam HobbsPosted Jun 10, 2011, 2:26 PM
Suthish NairPosted Jun 10, 2011, 8:35 AM
Suthish NairPosted Jun 10, 2011, 8:34 AM