Hi There,
After get my account with microsoft to develop to windows mobile, i started some testing.
I compiled 'Noid' project to windows mobile (wm 6.1, device acer f900). When i try to start the app, the application simply doesn't start. I dont know if i am doing something wrong or if there is any problem with glbasic working on windows.
Anyone have same problem?
King Regards, fjsantos.
Update: I tested simplier program i can do and get same results (I only did a drawsprite and showscreen).
Maybe the problem can be resolution?
I am tested actually on F900 device (which uses HD screen). Resolution of the device is 480x800, and i can't find same resolution to compile for Windows CE.
Can you please update resolution to test?
King Regards, fjsantos.
I've tried Gernot's Wumbo's Quest on the Mobile 6.5 emulator and that is fine. However, doing a very small test program :
WHILE TRUE
PRINT "Hello world",0,0
SHOWSCREEN
WEND
locks up the emulator...
Also locks up the hardware from WM5.0 to 6.1
http://www.glbasic.com/forum/index.php?topic=3897.msg28512#msg28512
Note it only locks up the top screen bar area only, so I can't get to menu but can use file explorer that is "underneath it" the invisible glb app.
This is the result of the error log file :
GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,bpp
240
320
16
Pitch X,Y
2
480
Hi There,
@Matchy: I have exactly same problem using real hardware.
@MrTAToad: I tested simple program too (drawsprite and showscreen).
I hope Gernot can fix problems soon, cause windows mobile market seems very interesting, and i am working on portings to this marketplace currently. (At least i have my windows mobile marketplace account!).
Thanks for replies,
King Regards, fjsantos.
pd-> Also need to add some extra screen sizes to build, i will post all windows mobile screens sizes soon.
Yes, a few more default ones are needed - mind you, extra ones for Windows, Mac and Linux would be nice too...
Extra defaults for Windows? Can't you just type in whatever you want in that box or with SETSCREEN? Too many choices and you might be better off without :-) Some built-in command for getting the desktop resolution would be handy though, or a way of not changing the resolution so you can get the native resolution for an LCD automaticly.
Oh dear. What does your errorlog.txt in the temp directory yield? Please post it here.
My errorlog.txt file.
GlobalInit
Trying GAPI
Using GAPI
Screen W,H,bpp
320
240
16
Pitch X,Y
2
480
King Regards, fjsantos.
Oh dear.
Try DRAWRECT in a loop, with SHOWSCREEN - still nothing to see?
Same problem as before.
Same errorlog. :(
King Regards, fjsantos.
What's that 480 doing there? hmmmmm
\temp\errorlog.txt on 2 devices:
GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,bpp
240
320
16
Pitch X,Y
2
480
it's the number of bytes to move in order to skip one pixel. That's perfectly OK.
What is the device doing? Is it crashing the program? Any error message?
Only lockups the top screen bar area (so i can't use 'x' to exit applications). On top bar area, it says 'GLBasic'.
Under it, all seems to work well.
King Regards, fjsantos.
(Link removed: bug is fixed!)
Wow, perfect demostration of results!
Great video!
King Regards, fjsantos.
Anything to help get it resolved as I'd rather be making more interesting videos. ;)
Fixed in current update.
Testing now, and with fixed tearing on wiz as bonus!
I really have one word to say: AMAZING!!
Really great job!!!!!
King Regards, fjsantos.
Tested and its working now, but I have 2 more questions to do.
Well, i tested on Acer F900 with resolution of 480x800. (which is not listed on build resolutions, so maybe this can be the problem).
First, i can see a little 'x' button on top-right side of screen (which i would prefer to implement my owns quit buttons), its possible to eliminate this button?
Second, i can see the standar menu buttons of windows mobile on down of screen (as i say, it can be problem to resolution and resolution compiled?).
I am going to post all official windows mobile resolutions which would be great to include on compile options for windows ce.
King Regards, fjsantos.
X-button: AUTOPAUSE FALSE
The buttons might be a problem with me using GAPI on your device, because I can't seem to get your resolution using the GetRawFrameBuffer() method. Next update will feature more resolutions. You can see if it's working then.
Thanks so much, i will use autopause method to eliminate 'x' button, and i will try resolutions on next update!
King Regards, fjsantos.
Hi,
I have just tested new update of glbasic with implements new resolutions on windows ce and i have to say that its works like a charm!
I only have a little comment: I cant eliminate blue x button on top right side of screen (very little but i don't like so much), i would like to implements my own quit methods; i try as you say autopause false, but it seems doesn't work.
And last comment is that will be great to have same resolutions on windows, mac and linux.
Anyway its a really Great Job!
King Regards, fjsantos.
x button: ALLOWESCAPE FALSE
Thanks!
Works like a charm!!
King Regards, fjsantos.