A CLSID is a globally unique identifier that identifies a COM class object.
Questions tagged [clsid]
96 questions
46
votes
6 answers
Windows 64-bit registry v.s. 32-bit registry
I heard on Windows x64 architecture, in order to support to run both x86 and x64 application, there is two separate/different sets of Windows registry -- one for x86 application to access and the other for x64 application to access? For example, if…

George2
- 44,761
- 110
- 317
- 455
30
votes
4 answers
How to find a DLL given a CLSID?
I have a situation in which a managed DLL calls some unmanaged DLL. I know the CLSID of the unmanaged DLL, is there any way to find out what binary file houses that CLSID?

dudemonkey
- 1,091
- 5
- 15
- 26
15
votes
3 answers
Does GDI+ have standard image encoder CLSIDs?
The GDI+ Image::Save method requires a CLSID parameter to specify the encoder to use. The documentation points to some sample code for getting the encoder associated with a particular MIME type, such as image/jpeg or image/png. However I'm balking…

Mark Ransom
- 299,747
- 42
- 398
- 622
12
votes
2 answers
Getting CLSID for a DLL file?
I want to create a small app to add and remove user defined context menu entries from the registry. To make this, somehow I need to get the CLSID of an arbitrary DLL so I can back up previous entries if they exist before writing new ones.
Although…

user202987
- 1,196
- 3
- 14
- 24
8
votes
2 answers
Using Interop.MODI Throws 0x80040154 Exception
I am currently trying to implement the Interop.MODI.dll (From Microsoft Office) to use the Image -> Text features it should Provide.
But when doing
var modi = new MODI.DocumentClass();
I get:
"COMException 80040154 with CLSID…

Stefan Schnitzler
- 148
- 1
- 6
5
votes
3 answers
regsvr32 doesn't create any entries in registry
I have a problem trying to register DLL. My OS is Windows 7 (x64).
I do it in two different ways:
1) Using regsvr32. I get message "DllRegisterServer ... succeedeed", nevertheless I can't find my CLSID in registry. (And I get "Class not registered"…

skvadrik
- 586
- 1
- 3
- 11
5
votes
1 answer
How (and when) does COM TreatAs work?
I was looking at the registry access of vsjitdebugger.exe using Process Monitor, and I noticed that sometimes it queries the registry in the following manner (some info omited):
HKCU\Software\Classes\CLSID\{some-guid} NAME NOT FOUND Desired Access:…

Igal Tabachnik
- 31,174
- 15
- 92
- 157
5
votes
2 answers
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
We are getting above said error from our production server which is hosted in SharePoint farm…

Whiz Kid
- 89
- 1
- 2
- 6
4
votes
1 answer
COM interface Photoshop compatibility issue
We're writing a simple .NET C# COM applicaton for Photoshop, which is designed to run on all versions from CS2 to CS5 and everything in between. The same application also exists in JavaScript form and it works with all aforementioned versions, as…

user746463
- 43
- 1
- 3
4
votes
1 answer
Is there a x64 version of MsStkPrp.dll
I'm porting an ATL control to 64-bit. The control uses the Stock Property pages (CLSID_StockFontPage, CLSID_StockColorPage) in its properties dialog.
After recompiling for x64, the Color and Font tabs are missing (because MsStkPrp.dll is 32-bit). …

Joe Zimmerman
- 41
- 2
3
votes
3 answers
How to get elevated permission to edit a registry CLSID, with in a WiX fragment
I am trying to set windows desktop search to use a different html filter other than the system default filter(nlhtml.dll). When I look up the PersistentHandler (HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html\PersistentHandler) it points to…

Niroshan
- 2,064
- 6
- 35
- 60
3
votes
1 answer
Given a Win32 COM interface locate its typelib
Consider the IUniformResourceLocator Interface defined in intshcut.h. I know how to manually define it for managed COM interop, but I'm trying to understand if I can get tlbimp to do that for me. Here's what I've tried:
Search the web - I can only…

Ohad Schneider
- 36,600
- 15
- 168
- 198
3
votes
2 answers
C++ Get CLSID of my own dll
I want to retrieve the CSLID of my own dll from within my dll.
This CLSID is declared in the .rgs file of my application.
I am creating a lot of the dlls, each with a different CLSID, and it would be important to me that I can easily retrieve it…

tmighti
- 31
- 1
- 3
3
votes
2 answers
Specialize a template for a GUID value
This is a follow up to Why aren't fields from constant POD object constants themselves?
A header from a library declares class GUIDs like
static const GUID CLSID_EH264VD =
{ 0x96b9d0ed, 0x8d13, 0x4171, { 0xa9, 0x83, 0xb8, 0x4d, 0x88, 0xd6, 0x27,…

Bruno Martinez
- 2,850
- 2
- 39
- 47
2
votes
2 answers
Discovering registered COM components
Is there a way to determine if a registered COM component is creatable as a stand-alone component simply by parsing the information available in the registry? In particular, by the information found in HKCR/ClsId?
My system has over 12,000 entries…

acordner
- 197
- 1
- 3
- 8