How can I share dynamic data array between Applications?

Posted by Ehsan on Stack Overflow See other posts from Stack Overflow or by Ehsan
Published on 2010-04-28T06:10:34Z Indexed on 2010/05/01 7:17 UTC
Read the original article Hit count: 198

Hi, I use CreateFileMapping, but this method was not useful,because only static structure can be shared by this method.

for example this method is good for following structure:

struct MySharedData
{
   unsigned char Flag;
   int Buff[10];
};

but it's not good for :

struct MySharedData
{
   unsigned char Flag;
   int *Buff;
};

would be thankful if somebody guide me on this, Thanks in advance!

© Stack Overflow or respective owner

Related posts about shared-memory

Related posts about dynamic-data