A CLSID is a globally unique identifier that identifies a COM class object.
Questions tagged [clsid]
96 questions
1
vote
2 answers
ProgID and file extension relation
I am working on a program using the JACOB project (JAva COm Bridge).
There is a file to open, the entire name is passed along (ex. c:\test\test.xls). In order for JACOB to create a new ActiveXComponent it needs to be passed a ProgID or CLSID. …
user276557
1
vote
0 answers
HtmlUnit. Map
I am using HtmlUnit and I am trying to provide custom implementation for ActiveXObjects. Although I can provide custom implementation when an ActiveObject is called through javascript by name e.g.
var wmi = new ActiveXObject("WMPlayer.OCX.7");
I…

user3130668
- 11
- 2
1
vote
1 answer
Unresolved external symbols in C++ project
This is my situation (I am very new to C++ MFC coding and I am trying to debug an existing application project)
I use this line in my code (in a visual studio 2012 MFC project)
CoCreateInstance(CLSID_PortableDeviceValues, NULL,
…

Vignesh P. Kannan
- 35
- 2
- 5
1
vote
1 answer
Type mismatch error while using GetStringValue fn
I have a code in VB to find the version of a COM dll that i have installed.
the relevant code is:
Const HKEY_LOCAL_MACHINE = &H80000002
---------
---------
Set objRegistry = GetObject("winmgmts:\\.\root\default:StdRegProv")
strKeyPath =…

amaturcoder
- 25
- 1
- 7
1
vote
2 answers
Is there a list for known CLSIDs of the windows registry?
In the windows registry reside many CLSID values (in HKEY_CLASSES_ROOT\CLSID) such as {16d51579-a30b-4c8b-a276-0ff4dc41e755}, many of which may belong to widely known or even built-in applications or libraries. Is there a list or database that…

n611x007
- 8,952
- 8
- 59
- 102
1
vote
2 answers
In Windows, is there a difference between UuidFromString and CLSIDFromString?
I would just like to double-check which one is correct to use for internally generated GUIDs that bear no relation to COM classes.
My suspicion is that it's UuidFromString, but I keep seeing code that uses CLSIDFromString. I have a vague…

Coder_Dan
- 1,815
- 3
- 23
- 31
1
vote
1 answer
Create .NET project references to two COM components when only the CLSIDs differ?
Brief:
How can I create two references in a .NET project to two ummanaged COM components that are identical except for their CLSID? They have the same ProgID, and the same Type Lib.
The Type Lib is what Visual Studio complains about when I attempt…

turnip_cyberveggie
- 151
- 11
1
vote
1 answer
Why genguid.exe generated clsid won't work?
I am trying to modify exceladdin.py example from pywin demos.
Otherwise I can modify it, but when I replace the clsid given in example:
"{C5482ECA-F559-45A0-B078-B2036E6F011A}"
With the one generated by genguid.exe or pythoncom.CreateGuid()…

Juha
- 2,053
- 23
- 44
0
votes
1 answer
Check if a DLL is already registered
I am trying to use GetClassFile function passing the DLL name as a parameter and expecting the function to return CLSID. Then using CoCreateInstance, I could check if the dll is registered or not.
I am not able to get a valid return for…

user1256249
- 11
- 3
0
votes
1 answer
Outlook and Registry key permission issue
I am working to fetch mail from Outlook programmatically. When I was running the program from console it was running fine. But I tried to automate it through a task scheduler by giving option to "run whether user is logged on or not" and got an…

ANP
- 15,287
- 22
- 58
- 79
0
votes
1 answer
COM CLSID CodeBase key
When .net assemblies are registered for COM Interop, there is a CodeBase key in the registry that points to the executable.
My question is: is the CodeBase key something specific to .NET, or is this a generic COM thing that all registered components…

Tim Long
- 13,508
- 19
- 79
- 147
0
votes
0 answers
xls files not getting generate using sql bcp commad
i am getting below error while generate xls file from sql bcp command
"Retrieving the C0OM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a." but i have tried multiple solution…

Dhurba Devkota
- 11
- 5
0
votes
1 answer
Calling COM objects
I'm still learning about using COM objects.
I'm trying to figure out where the values of CLSID_FileOpenDialog and IID_IFileOpenDialog are defined: https://learn.microsoft.com/en-us/windows/win32/learnwin32/example--the-open-dialog-box
I couldn't…

Mymoon
- 13
- 1
0
votes
0 answers
Problem with Jacob.jar - com.jacob.com.ComFailException: Can't get object clsid from progid
I have a development in Java using DB Postgres, and we have running a serial of applications to create digital invoices according to the local gov tax department. When the program calls to jacob to negotiate, we have this exception and the program…

Sergio Cordovez
- 1
- 1
0
votes
1 answer
Programmatically access files in a device showing up in 'This PC'
I am on Windows 10. I want to write a function (in R) to copy the files stored in a camera (actually in the SD of the camera, but I cannot just read the memory card in the PC), to a different storage unit (say, the pc or an external HDD).
The camera…

Filippo
- 309
- 1
- 2
- 10