GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Sep-06

Title: Windows CE output is corrupt/crashes emulator
Post by: MrTAToad on 2010-Sep-06
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]
Title: Re: Windows CE output is corrupt/crashes emulator
Post by: Kitty Hello on 2010-Sep-14
the screen size in project options does not match the screen of the device, maybe?
Title: Re: Windows CE output is corrupt/crashes emulator
Post by: MrTAToad on 2010-Sep-14
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]
Title: Re: Windows CE output is corrupt/crashes emulator
Post by: Kitty Hello on 2010-Sep-14
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.