[SOLVED] Accessing QSharedMmory from another process external to Qt
-
wrote on 12 Jun 2013, 01:10 last edited by
Hello,
I am having trouble accessing data from an external C++ process that is written to QSharedMemory by my Qt process. One question I have is if I attach my Qt process to the shared memory do I have to detach it after I write my data so that my external process can read/access it? Or is this only relevant when the shared memory is locked?
Thanks
-
wrote on 13 Jun 2013, 10:42 last edited by
Hi Rizoritis,
If you attach your Qt process with shared memory and write some data there and detach it then your memory segment will destroy.
If you want that your one Qt program or process sends data to another C++ process then you can use Pipe to transfer data between different-2 processes.
1/2