In one application there is a class with values, data is processed there.
How can I get the values to the elements (preferably a link in memory, not a copy), so that I can immediately see the changes in another application.
In one application there is a class with values, data is processed there.
How can I get the values to the elements (preferably a link in memory, not a copy), so that I can immediately see the changes in another application.
One convenient way is to use named pipes. A practical guide: using named pipes to communicate between processes over a network. You can choose the appropriate data transfer format, for example, JSON or XML, serialize the classes into this format and write, read them from the channel.
Another approach is memory mapped files . By adding a certain synchronization (mutexes, etc.), you can transfer data between processes.
Source: https://ru.stackoverflow.com/questions/129561/
All Articles