How can I share dynamic data 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/04/28 6:13 UTC
Read the original article Hit count: 248

Filed under:
|
|

Hi, I use CreateFileMapping, but this method does 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 vc++6.0