Hi,
sorry if this has been covered before, but I just noticed that in the windows include file, InvalidateRect() is declared as
DECLARE IMPORT, _InvalidateRect ALIAS InvalidateRect(hwnd AS INT,lpRect AS WINRECT,bErase AS INT),INT
I can't get this to work and by my reckoning the lpRect parameter should be a pointer. At least that's how I've always used it in the past and indeed it works in this case if I switch the WINRECT for POINTER. Am I missing something (again! ;D) ?
What I do not want to do is redeclare InvalidateRect() and then have it clash with windows.inc should I need to include the file in an application.
Just change it in windows.inc. It won't hurt anything and should be a pointer.
Paul
Aye, thanks. Just wondering if it was me being daft again!
I'm really getting into EMBasic now; it's great stuff. You've created a gem here Paul.