Hi,

I have been using a CList to statically store data between two processes, my problem is the debugger shows that data is being lost or changed from when it was added to the list to when it is retrieved from the list. I have a reasonably large structure being stored in the list. My declaration is :

CList<MyStrucutre, MyStructure&> MyList;

MyStructure {
char sString1[256];
short iParameter2;
char sString2[256];
/* Down to sString18[256] with some short members */
}

Basically I have a DLL putting items in the list and retrieving items from the list and other DLLs use these functions to store/retrieve data.

I have tried a number of ways to try to get around this the only thing that worked was to reduce the structure. I need to be able to store a number of elements with the data above, therefore the only solution I can come up with is to use a file I/O instead with windows API.

Does anyone have any better suggestions to replace the List?

Please I'm Desperate as files are not a good solution.

Needaname16