Yes I'm using the current version of QB64PE, and yes I get the same values running your code as posted (which is using _DELAY). Here's the output
0
0
800
600
263499 263499
And here's what I get when running that but using _SCREENEXIST instead of _DELAY.
0
0
640
400
460002 460002
So it looks like _WINDOWHANDLE is working either way, but for some reason the API doesn't take it without a delay? I dunno. It should return 800x600 too but isn't.
- Dav
0
0
800
600
263499 263499
And here's what I get when running that but using _SCREENEXIST instead of _DELAY.
0
0
640
400
460002 460002
So it looks like _WINDOWHANDLE is working either way, but for some reason the API doesn't take it without a delay? I dunno. It should return 800x600 too but isn't.
- Dav