Questions tagged [Component Object Model] (17)

1
answer

Python and COM objects?

One Run in PythonWin — > Tools — > COM Browser — > look the name of the library in the "Registered Type Libraries" — > run python.exe — > >>> import win32com.client.as makepy makepy<br> >>> makepy.ShowInfo('the name of the library, which we found in the Registered Type Libraries') — &g...
orin60 asked October 10th 19 at 06:26
1
answer

Create DCOM object in C#?

You want to create a DCOM object. You can write it in C# and how to do it? For example, in embarcadero studio there is a special tool for creating COM objects.
amelie.Howell asked October 10th 19 at 05:23
0
answer

Component Object Model Interop?

The problem will be connected to the program by means of Component Object Model (COM). I myself have been programming in AS3, a little bit in Java, so such things are not familiar. Tried to find something for Java, I found JACOB, JAWIM, com4j, but never found a clear description. Prompt possible links or books where you can...
destiny_Weimann47 asked October 9th 19 at 22:43
1
answer

COM object from c#. The property is accessed?

Hello, now I will try to put the essence of the problem: Registered and connected to the project a number of com libraries. Get the value like this: Com ComObject1 = new ComObject1();<br> string name = com.get_Property("name") as string; set the value like this: ((dynamic)com).name = "Vasiliy"; You are not working wit...
darien.Hackett asked October 8th 19 at 01:43
1
answer

Can't connect to the Com object to the Silverlight project:

Good morning. Develop a program for reading images from the webcam and process it using a com object. Gave rise to the following questions: 1) unfortunately It is impossible to connect the com object in the normal way i.e. Add reference->Com tab com just yet. 2) if I connect the com object this way: using (dynamic im = A...
Donnie44 asked October 8th 19 at 00:49
3
answers

How to configure interoperability with Word via COM

I have a script which has the following line: $wordHandle = new COM('word.application') When you run the script I get the error: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Îòêàçàíî â äîñòóïå. ' since "Îòêàçàíî â äîñòóïå." means "access Denied.", I assume...
Annamarie_Adams asked October 3rd 19 at 04:09
2
answers

How to call this function from an Assembly in managed C++?

There is build in C# in which there is a public method that takes System.Object, treating it as a COM object. From C# this method is used like this:var ComType = Type.GetTypeFromProgID("Excel.Application"); var obj = Activator.CreateInstance(ComType); ProcessObject(obj); // ProcessObject(System.Object objToProcess) The Proc...
Dawn_Denesik asked September 27th 19 at 03:13
2
answers

How to cope with a strange ComException "Library not registered" in .NET application?

Hello. After running .NET applications began to emerge a ComException exception "Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))". While the COM library was registered (Skype4COM.dll). I venture to suggest that this could affect multi-threading, prior to its entering the exclusion did ...
randall12 asked September 25th 19 at 21:39
1
answer

COM: how to port from MSVC to MinGW?

We have a COM library, working on titles and inline (TLH and TLI), generated via the #import Directive. How can this library to connect to MinGW?
Humberto_Lynch68 asked September 13th 19 at 12:34
1
answer

Why I can't create a COM class object?

Good day! There's such comrades. They have a client for your system. The client API via com. Put the client. Check in the registry, the class was https://yadi.sk/i/KHyURBwJghua3 . Through the service components all components pertaining to a customer add a user with the right to work with the given object. But when I run a ...
Lourdes asked August 15th 19 at 17:58