Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inter process communication C# <--> C++ for game debugging engine

Tags:

c++

c#

ipc

I am working on a debugger project for a game's scripting engine. I'm hoping to write the debugger's GUI in C#. The actual debugging engine, however, is embedded in the game itself and is written in a mixture of C, C++, and assembly patches.

What's the best way to handle communication between the debugger GUI and the debugging engine? The two will be running in separate processes.

Thanks!

Andy

like image 569
Andy Avatar asked Apr 08 '10 23:04

Andy


People also ask

What is interprocess communication in C?

Interprocess communication is the mechanism provided by the operating system that allows processes to communicate with each other. This communication could involve a process letting another process know that some event has occurred or the transferring of data from one process to another.

Which is inter process communication?

Official definition: Interprocess communication (IPC) is used for programs to communicate data to each other and to synchronize their activities. Semaphores, shared memory, and internal message queues are common methods of interprocess communication.

What is inter process communication with example?

Inter-process communication (IPC) is a mechanism that allows processes to communicate with each other and synchronize their actions. The communication between these processes can be seen as a method of co-operation between them. Processes can communicate with each other through both: Shared Memory.

What is Inter Process communication answer?

In computer science, inter-process communication or interprocess communication (IPC) refers specifically to the mechanisms an operating system provides to allow the processes to manage shared data.


1 Answers

If you can require Windows Vista or later, and .Net 3.5 or later, Named Pipes provide simple, high-performance IPC. Check out this article.

like image 186
Dour High Arch Avatar answered Sep 30 '22 01:09

Dour High Arch