Hi,
I used the WM_COPYDATA message to send strings between 2 applications.
This works fine, but I am rewiting the receiver application, creating the
form with API.
The WM_COPYDATA message is received, but I can't get to the TWMCopyData
structure.
In a normal application, the message can be received in the declered
procedure :
procedure WMCopyData(var Msg: TWMCopyData); message WM_COPYDATA;
When a Form is created using API, you can assign it a WndMsgProc as
function WndMsgProc(hWnd: HWND; Msg: UINT; WParam: WPARAM; LParam: LPARAM):
UINT; stdcall;
How can I read the data in this situation ?
Paul