GLBasic forum

Main forum => GLBasic - en => Topic started by: BasicMe on 2010-Jun-26

Title: GLBasic programs not working on Windows CE 6.0 device
Post by: BasicMe on 2010-Jun-26
Has anyone done much compiling for a range of Windows CE platforms?

I have a small "mini-netbook" running Windows CE 6.0 on an ARM processor.  Specifically, this:

http://cgi.ebay.com/NEW-7-Mini-Netbook-Laptop-Notebook-WIFI-Windows-2GB-HD-/270570318029?cmd=ViewItem&pt=Laptops_Nov05&hash=item3eff3f68cd#ht_2232wt_1137 (http://cgi.ebay.com/NEW-7-Mini-Netbook-Laptop-Notebook-WIFI-Windows-2GB-HD-/270570318029?cmd=ViewItem&pt=Laptops_Nov05&hash=item3eff3f68cd#ht_2232wt_1137)

I've compiled some simple programs with GLBasic, but can't get them to run.  For example, this:

Code (glbasic) Select

// Color bar test
DRAWRECT 10, 10, 310, 40, RGB(255, 0, 0)
DRAWRECT 10, 60, 310, 60, RGB(0, 255, 0)
DRAWRECT 10, 130, 310, 80, RGB(0, 0, 255)
SHOWSCREEN
MOUSEWAIT
END


It works fine in Windows 7.  But when I compile & copy the working directory over to the WinCE machine, I double-click the icon...and nothing happens, other than the mouse cursor briefly shows an hourglass icon.

When I've compiled programs to a WinCE Smartphone in the past, I don't believe I've ever had to install any additional libraries.  But is it possible this particular WinCE device is missing a library that's generally installed standard (similar to a VB runtime library)?  If so, can anyone direct me to it?

Or any other thoughts about what's going on?
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: MrTAToad on 2010-Jun-27
As I dont have a Windows CE machine, I can only use the emulator, but it does work fine.  However, this does use 6.5

Its possible that there is something missing, although I wouldn't know what.  See if the ErrorLog.txt in /temp shows anything odd...

Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: BasicMe on 2010-Jun-27
No files get created in the temp folder (hidden or otherwise).

It seems to me like the operating system is rejecting the program without fully launching.  But normally, if a program launches that's incompatible with CE 6.0 (such as a program compiled for an earlier or later version of CE), I get a "[PROGRAM NAME] is not a valid Windows CE application" error message...which I'm not getting with the GLBasic programs.  It's curious.

Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Kitty Hello on 2010-Jun-28
No. It's only working with Windows Mobile.
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: BasicMe on 2010-Jun-28
Quote from: Kitty Hello on 2010-Jun-28
No. It's only working with Windows Mobile.
D'oh!  That explains it.

Is there any chance for support in the future?  Maybe even with limited graphics support?  Or is it possible an old/early version of GLBasic supported WinCE 6.0?
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Kitty Hello on 2010-Jun-29
I have no such device to test. Is there an emulator?
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: BasicMe on 2010-Jun-29
I don't know if there's an emulator, but I'm happy to send you an actual device!  I PM'd you...
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Kitty Hello on 2010-Jul-12
Hi,

I got the device. Thanks a lot. Had to pay $12 at the customers, but it's working fine. I got GLBasic ported!!!!
Finally I can support these $80 laptops with Windows CE installed! Many thanks. I'll post an update when I finished testing for the V8 beta.

Then only Pandora is left.
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Hatonastick on 2010-Jul-12
Not just Pandora.  I have this calculator watch you see, and it has a nice little screen and some buttons.  When can I expect full GLB support for this device?  =D
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Kitty Hello on 2010-Jul-13
I need a test device :P

Honestly, Pandora is giving me the creeps. They don't provide a windows compiler, and I am about to make it that you have to install some product on the Pandora and perform the linking over there. (I'll automate it, though)
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Hatonastick on 2010-Jul-13
That sounds a bit odd.  Wonder why they chose not to provide a compiler for the Pandora under windows.  I think it uses some sort of cut-down Linux doesn't it, but even if that is the case (or not) why choose to ignore one of the worlds most used operating systems?
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: MrTAToad on 2010-Jul-13
Possibly licensing issues or time constraints...
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Ian Price on 2010-Jul-13
QuoteI think it uses some sort of cut-down Linux doesn't it, but even if that is the case (or not) why choose to ignore one of the worlds most used operating systems?

It's a full version of Linux, not any half arsed measures. I'm sure there'll be a proper Windows compiler soon - the team are pretty busy fixing the software issues they have before creating all new ones :P

TBH I'm getting pretty concerned about the Pandora hardware - reading the forums there seems to be so many problems with the nubs, reliability, battery and other things. I hope that by the time I (eventually) receive mine that all of these issues will have been fixed. I won't hold my breath though. :(
Title: Re: GLBasic programs not working on Windows CE 6.0 device
Post by: Hatonastick on 2010-Jul-14
Quote from: Ian Price on 2010-Jul-13
QuoteI think it uses some sort of cut-down Linux doesn't it, but even if that is the case (or not) why choose to ignore one of the worlds most used operating systems?

It's a full version of Linux, not any half arsed measures. I'm sure there'll be a proper Windows compiler soon - the team are pretty busy fixing the software issues they have before creating all new ones :P

TBH I'm getting pretty concerned about the Pandora hardware - reading the forums there seems to be so many problems with the nubs, reliability, battery and other things. I hope that by the time I (eventually) receive mine that all of these issues will have been fixed. I won't hold my breath though. :(
Whoops, sorry.  I assumed it was along the lines of Windows CE as compared to Windows. :)

Anyway you are probably right in that it's just a case of them not having gotten around to it yet.

I'm starting to think forums are good for researching something before you buy, and maybe after you've bought something, but never after having bought something and are still waiting for it to be delivered.  I did that back when I had bought my laptop from Dell and was waiting for it to arrive -- by the time it did arrive I'd already started to wonder if I'd wasted my money, thankfully though it turned out I hadn't.  Anyway hopefully yours wont have any of the issues people have reported with theirs.