PDA

View Full Version : QSharedMemory



weixj2003ld
23rd August 2011, 11:57
I want to do the following things,and find that there is QSharedMemory in QT,but I do not know it can realize my task.
I need two process processA (it is a UI program)and processB,
I need to get some results(for example, some QString) from processA, and processB accepts the results and processes them.
Before processB processes them,processA is closed(by user's clicking 'Ok' button),,and then I find I can not get the results from QSharedMemory,I think there is no process attach it,how to deal with this case?

Thanks in advance.

high_flyer
23rd August 2011, 12:49
Did you attach processB to the shared memory?