I am trying to create an instance of a COM object. I have the class name that implements the interface and I get a CLSID by using CLSIDFromProgID(). So since I am getting a CLSID I thought everything should be fine from now on. However when I do a call to CreateInstance and pass in the CLSID, I get an error saying "Class not registered"....
Hello everyone,
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 a COM registers CLSID in the x86 set of registry, then x64 application wi...
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?
...
Hi
I'm facing a the following situation:
I created a simple full trust XBAP application that refers to unmanaged c++ COM server (isolated).
After deployment I expect that XBAP application will discover the COM server dll that is placed in the same directory, but it is not.
I'm getting the following error:
Exception has been thrown by ...
I am using COM Object in my C# .NET 1.1 application. When the COM object is not registered on client machine, I get the exception:
"COM object with CLSID {} is either
not valid or not registered."
(HRESULT:0x80040154)
I know how to register the COM object using regsvr32. Our requirement is to identify the COM object which is no...
I'm trying to open a PDF document inside a C# application using Acrobat Inter Application Communication (IAC) in a Visual C# 2008 Express Edition project.
When executing the following code I get an exception:
CAcroPDDoc pdDoc = new AcroPDDocClass();
The exception reports that the COM class factory for a particular CLSID has failed...
I am getting the following error on my workstation when I am trying to work with a COM object.
An unhandled exception of type
'System.Runtime.InteropServices.COMException'
occurred in CarteGraphInterface.exe
Additional information: Retrieving the
COM class factory for component with
CLSID
{3963F0F8-6B0C-4A65-90F4-F6016...
I want to have 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 and then write new ones. Although regsrv32 somehow manages to create this magical number, I didn't find any answer with google.
...
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. (Such as Excel.Application, or Word.Application, but outside of the MS realm there is also A...
I'm trying to find a way to identify a newly registered or unregistered (via regsvr32) COM servers, which are added to the registry (CLSID). Is there any callback function I can use?
I don't really want to poll the registry...
...
When you are debugging a program and you hover over a GUID variable, MSVC retrieves both the variable name (e.g. CLSID_FilterGraph) and the human name (e.g. Filter Graph Object).
It does the second by looking at HKCR\CLSID\GUID - but where does it get the variable name from?? It's not in the registry.
Any ideas?
...
I want to modified the Internet Explorer CLSID element in the registry: (HKEY_CLASSES_ROOT\CLSID{0002DF01-0000-0000-C000-000000000046} )
It is possible to copy this entry and replace the GUID and create a new alias?
Where can I defined a new alias?
(Later I want to open this Com Object in PowerShell)
...