Windows CE output is corrupt/crashes emulator

Previous topic - Next topic

MrTAToad

With the following :

Code (glbasic) Select
WHILE TRUE


PRINT "Hello Mobile",100,100

SHOWSCREEN
WEND


apparently it abnormally terminates on a 6.5 mobile and on my emulator, I get an invalid display and the emulator hangs.





[attachment deleted by admin]

Kitty Hello

the screen size in project options does not match the screen of the device, maybe?

MrTAToad

#2
Possible - I'll check that...

Yes, that seems to have solved it - compiling for the exact resolution...

This what it looks like with the correct resolution :



[attachment deleted by admin]

Kitty Hello

On CE it's possible to SETSCREEN, because I use a background image and BitBlt - on Windows Mobile I directly draw to the hardware, which has a given size. I will make that auto-adjust so that you always have a fullscreen display and setscreen does not harm it.