Windows Mobile 6.1 doesn't work

Previous topic - Next topic

fjsantosb

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.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

fjsantosb

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.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

MrTAToad

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 :

Code (glbasic) Select
WHILE TRUE
PRINT "Hello world",0,0
SHOWSCREEN
WEND


locks up the emulator...

matchy

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.

MrTAToad

This is the result of the error log file :

GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,bpp
240
320
16
Pitch X,Y
2
480

fjsantosb

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.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

MrTAToad

Yes, a few more default ones are needed - mind you, extra ones for Windows, Mac and Linux would be nice too...

Moru

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.

Kitty Hello

Oh dear. What does your errorlog.txt in the temp directory yield? Please post it here.

fjsantosb

#9
My errorlog.txt file.

GlobalInit
Trying GAPI
Using GAPI
Screen W,H,bpp
320
240
16
Pitch X,Y
2
480

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Kitty Hello

Oh dear.
Try DRAWRECT in a loop, with SHOWSCREEN - still nothing to see?

fjsantosb

Same problem as before.
Same errorlog. :(

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

matchy

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

Kitty Hello

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?

fjsantosb

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.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com