Hi,
as subject i've a problem with the API GetWindowText.
I declare the function GetWindowText:
[DllImport("user32.dll", EntryPoint="GetWindowTextA")]
public static extern int GetWindowTextt (
int hwnd,
string lpString,
int cch
);
When i try to call it in this way: Win32.GetWindText(hWnd,sName,128)
the sName string variable return empty!
how can i solve this problem?
thx!
Mauro.
--
Questa è una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com