I have the need to do communicate two application, one in Qt c++ with another in C#.
The principle is the C# application launch the Qt application and the Qt return values to the C# application.
What is the best way for do that?
Gat
P.S: I’m beginner in C++ and intermediate in C#
You have several options here.
If the returned value can fit in an integer, then you definitely should use the
ExitCodeof your Qt process.If the returned value is more complex, then you have to write a more complicated IPC system (Inter Process Communication). There are several options too: