Home > Net >  C # and C communication problems
C # and C communication problems

Time:11-27

Recently made an interface with C#.net, and then the main program is written in c + +, all written in VS), excuse me, is there any way to let two programs communication (even combined into one)
Program is real-time, which is need two program to communicate in real time (probably less than 100 ms delay can be accepted)

CodePudding user response:

https://bbs.csdn.net/topics/370026863 you can refer to this post, demand,

CodePudding user response:

C + +/CLI know use it as a direct interaction between c # and c + + language

CodePudding user response:

So several inter-process communication, share files, Shared memory, TCP communications, etc., search, asked not to do things, just get a simple file sharing

CodePudding user response:

If special huge amount of data sharing, can consider to use redis

CodePudding user response:

Communication between the two programs? Look at your specific needs, 1) if is call each other, with the best dynamic link library; 2) if the data is Shared, the fastest in the Shared memory way; 3) if is for communication, communication pipeline, the high efficiency and achieve relatively simple; Can also be based on UDP/TCP communications,
  • Related