A
A
Andrey Polyakov2012-05-19 12:37:57
Programming
Andrey Polyakov, 2012-05-19 12:37:57

COM Server in C#?

Greetings.
The task arose to write a module to receive data in 1C from a device on a COM port. I don't write in 1C myself, but according to the 1C's involved in the project, the only possibility is to write a COM server that will solve the problem.
There is a manufacturer's COM server for the device, but the problem is that there are two devices connected, and the server can only interact with one of them. It is not possible to start the second copy of the server.
There is an almost ready-made C# code for interacting with this device. There was a desire to make the COM-server.
There is a lot of material on COM on the net, but since lack of expertise in this area, it is difficult to assess their adequacy.
I would like to write such a server so that you can easily register several copies of this server in the system, accessible by different ProIDs. Moreover, the server must be an application that constantly hangs in memory and communicates with the device.
Advise adequate material to start studying the issue.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kuzemchik, 2012-05-20
@magnitudo

For me, MSDN was usually the first resource to look for .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question