Is there a similar function to SendMessage Win32API ?
1 view
Skip to first unread message
Microsoft Newsgroup
unread,
Sep 2, 2001, 12:15:41 PM9/2/01
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I need to send a WM_COPYDATA message to another application in C#.... How can I do that in this new language ??
Thanxs,
Marcio Castilho
Patrick Steele
unread,
Sep 4, 2001, 12:51:41 PM9/4/01
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In article <#yvoWK9MBHA.2124@tkmsftngp05> (from Microsoft Newsgroup <mar...@softcast.com.br>),
> I need to send a WM_COPYDATA message to another application in C#.... How > can I do that in this new language ??
Use PInvoke to call the Win32 API:
[dllimport("user32", CharSet=System.Runtime.InteropServices.CharSet.Auto)] public extern static int SendMessage(int hWnd, int Msg, int wParam, int lparam);