Fixed it, It turns out that the User32 decls in the code archives is wrong?
http://www.blitzbasic.com/codearcs/codearcs.php?code=1179
It lists:
api_GetWindowText% (hwnd%, lpString$, cch%) : "GetWindowTextA"
and I changed it to
api_GetWindowText% (hwnd%, lpString*, cch%) : "GetWindowTextA"
Which fixed it. Is this a mistake in the user32 decls?
http://www.blitzbasic.com/codearcs/codearcs.php?code=1179
It lists:
api_GetWindowText% (hwnd%, lpString$, cch%) : "GetWindowTextA"
and I changed it to
api_GetWindowText% (hwnd%, lpString*, cch%) : "GetWindowTextA"
Which fixed it. Is this a mistake in the user32 decls?