April 14th, 2005 07:50 PM
If you want to create CMyCalss in your app you should exprot CMyClass from dll.
There is another way just like COM's methord.
April 13th, 2005 07:59 PM
I have found some other way to do the same thing.
thanks. : )
April 12th, 2005 08:36 PM
When a worker thread sends a message to a window, the SendMessage function queues up the message for the window.
If SendMessage is called from the same thread that owns the window, the message is...
April 12th, 2005 07:32 PM
::SendMessage(hWnd, WM_COPYDATA, (WPARAM)m_hWnd, (LPARAM)©data);
I think the problem is no thread call GetMessage.
but how can i create a thread to call?
April 12th, 2005 12:30 PM
I want to encapsulate IPC into a dll, so I dont want to import a handle from other window. Instead, I created a window in the dll to receive message, but when i send WM_COPYDATA from other process,...