I have made a textbox and there is text in it, but when I use GetWindowText(...) to get the text it returns a uni code string full on nonsence stuff.
Here is the string it returns:
‹ÿU‹ì‹MVè´Ôýÿ‹ð…öt8‹U;è
No matter the text I put it always returns that. Why and how can I get the real text?
And if I use SendMessage(hwnd_of_textbox, WM_GETTEXT, (WPARAM)10, (LPARAM)text)
it gives and "sorry application had to close" error.