How to implement hello global memory in c / c ++ in windows?

Is shared memory stable in the first place?

I prefer this method of interaction between processes / applications, because in this way I do not need the overhead of data analysis.

Is there a good demonstration of the hello world on this in c / C ++?

+3
source share
5 answers

You should check Boost.Interprocess . It provides the necessary functionality, and the documentation contains instructions for its use.

+3
source

Is shared memory stable in the first place?

Yes.

I prefer this method of interaction between processes / applications, because in this way I do not need the overhead of data analysis.

You may be mistaken.

Is there a good demonstration of the hello world on this in c / C ++?

I want something like Manage memory mapped files .

+1

, :

  • , , , ().
  • - . , , , ?
+1

, .

, IPC, , UDP, .

0

If you're looking for a simple example, using shared memory in a dynamic link library from MSDN is probably a good starting point.

0
source

Source: https://habr.com/ru/post/1762207/


All Articles