Conversion de type LPARAM
bonjour,
je lance depuis une application C# sur clic de bouton la chose suivante :
Code:
1 2 3 4 5 6 7 8
|
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, StringBuilder lParam);
StringBuilder str = new StringBuilder("hello");
SendMessage(p[0].MainWindowHandle, Convert.ToUInt32(0x0111), CAPTURE, str); |
je souhaiterai récupérer mon string str dans mon autre application C++ Win32 ici
Code:
1 2
| LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){}
{ |
Comment faire ??
merci d'avance :)