V
V
Vyacheslav2018-04-10 09:52:17
C++ / C#
Vyacheslav, 2018-04-10 09:52:17

How do projects written in multiple languages ​​work?

You need to add C++ code to the C# project. How can I do that?
And yes, it's interesting how it all works.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Grishin, 2018-04-10
@vesper-bot

The assembler is the same so far, the DLL API too. It all works through them. You wrap your code in a DLL, expose an interface from it, and work like with any other plug-in library.

O
OnYourLips, 2018-04-10
@OnYourLips

A separate application within the system, for example. And communicate via sockets, bus, SOAP, REST, queues, etc.

S
Stanislav Makarov, 2018-04-10
@Nipheris

Option 1: P/Invoke .
Option 2: C++/CLI .
Option 3: A standalone C++ service that exposes the API via HTTP/Protobuf/whatever.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question