Hi ,
In a DLL, I use GlobalAlloc to allocate my data structure. And pass the pointer CPtrArray *m_ptr using
::PostMessage(hMainProgram, WM_MY_REGISTERED_MESSAGE, WM_MY_DATA, (LPARAM) m_ptr);
In main program, it can get all the data of CPtrArray, but when the program close, it will stop at assembly int 3
Thanks