views:

257

answers:

1

Hi

I would like to share some memory between two processes. Unfortunately I cannot find any useful examples when using google. The only thing that comes up is how P.I.P.S can be used. But I remember that it could be done in another way, similar to the one of creating of message queues. Would be great if someone could point me in the right direction!

Many thanks

+2  A: 

Use RChunk for plain shared memory. It is a low level, quite efficient mechanism.

Use RMsgQueue for message queues, which are on a bit higher abstraction level. See Using Message Queue in the SDK help for more.

laalto
thanks, i know how to use message queues. But I wanna know how to use shared memory. There is some possibility to do that in Symbian, but I have forgotten the classnames...
Have found it now. It is the RChunk class for which I was looking!
Of course. I edited my answer to contain that option as well so it is more useful for other people looking for the same. (I was a little bit distracted by the words "message queue" in your question, have to admit.)
laalto