Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

Windows CE

17 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Koenraad Lelong

Hi,

I could be able to purchase a number of second hand intelligent barcode scanners. I have project in mind where I could use such devices. The scanners run Windows CE 5. Is it possible and advisable to develop for these devices using Lazarus ?
I know Lazarus has support for Windows CE, but at the moment I don't find which versions are supported.

Thanks,

Koenraad.

Reply by email

Graeme Geldenhuys
to Koenraad Lelong
Koenraad Lelong wrote
I know Lazarus has support for Windows CE, but at the moment I don't find which versions are supported.

I use fpGUI Toolkit (not via LCL) on WinCE devices. My main device is a Garmin iQue M5, which runs Microsoft Windows Mobile 2003 SE. As far as I know others have used fpGUI on Windows CE 5.0 too, all using FPC 2.6.4

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

A. Fortuny
to Koenraad Lelong: I could be able to purchase a number of second hand intelligent barcode scanners. I have…

Le 22/05/2015 08:59, Koenraad Lelong a ?crit :

Show quoted text 8 lines
Hi, I could be able to purchase a number of second hand intelligent barcode scanners. I have project in mind where I could use such devices. The scanners run Windows CE 5. Is it possible and advisable to develop for these devices using Lazarus ? I know Lazarus has support for Windows CE, but at the moment I don't find which versions are supported.

Hi Koenraad.

No 've been busy until last year with Lazarus and LCL on a Vista workstation, 32bit compiler, cross compiler WinCE. Even Indy 10 compiled (somes little changes though) worked fine. Hardware was hand held computers from Symbol technologies wich became Motorola some time ago.
HW
MC900 range (Pocket PC)
PPT 8800 series (WinCE)
All hw equipment was accessible by the means of some specialised DLL's.

Antonio.

Show quoted text 11 lines
Thanks, Koenraad. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

---
L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. http://www.avast.com

Reply by email

Paul Breneman
to Graeme Geldenhuys: I use fpGUI Toolkit (not via LCL) on WinCE devices. My main device is a Garmin iQue M5,…

Koenraad, there is an easy way to try older versions of Free Pascal and fpGUI on WinCE at the bottom of this page:
http://www.turbocontrol.com/easyfpgui.htm

Graeme, I hope to get those files updated with the latest fpGUI soon!

Graeme Geldenhuys wrote 11 lines
On 2015-05-22 07:59, Koenraad Lelong wrote: > I know Lazarus has support for Windows CE, but at the moment I don't > find which versions are supported. I use fpGUI Toolkit (not via LCL) on WinCE devices. My main device is a Garmin iQue M5, which runs Microsoft Windows Mobile 2003 SE. As far as I know others have used fpGUI on Windows CE 5.0 too, all using FPC 2.6.4 Regards, - Graeme -

Reply by email

Graeme Geldenhuys
to Paul Breneman
Paul Breneman wrote
Graeme, I hope to get those files updated with the latest fpGUI soon!

In the 'fixes_1.4' branch is the latest stable code, and also contains fixes (noted after the v1.4 release) that make it WinCE compatible again.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

patspiper
to Koenraad Lelong: I could be able to purchase a number of second hand intelligent barcode scanners. I have…
Koenraad Lelong wrote 8 lines
Hi, I could be able to purchase a number of second hand intelligent barcode scanners. I have project in mind where I could use such devices. The scanners run Windows CE 5. Is it possible and advisable to develop for these devices using Lazarus ? I know Lazarus has support for Windows CE, but at the moment I don't find which versions are supported.

Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5.

Stephano

Reply by email

Mark Morgan Lloyd
to patspiper
patspiper wrote 11 lines
On 22/05/15 09:59, Koenraad Lelong wrote: > Hi, > > I could be able to purchase a number of second hand intelligent > barcode scanners. I have project in mind where I could use such devices. > The scanners run Windows CE 5. Is it possible and advisable to develop > for these devices using Lazarus ? > I know Lazarus has support for Windows CE, but at the moment I don't > find which versions are supported. Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5.

To what extent does the choice of CPU matter?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Sven Barth
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 15 lines
patspiper wrote: > On 22/05/15 09:59, Koenraad Lelong wrote: >> Hi, >> >> I could be able to purchase a number of second hand intelligent >> barcode scanners. I have project in mind where I could use such devices. >> The scanners run Windows CE 5. Is it possible and advisable to >> develop for these devices using Lazarus ? >> I know Lazarus has support for Windows CE, but at the moment I don't >> find which versions are supported. > > Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. To what extent does the choice of CPU matter?

i386-wince is less tested, but otherwise it should work just as well as arm-wince.

Regards,
Sven

Reply by email

patspiper
to Mark Morgan Lloyd: To what extent does the choice of CPU matter? Mark Morgan Lloyd markMLl .AT. telemetry.co…
Mark Morgan Lloyd wrote 16 lines
patspiper wrote: > On 22/05/15 09:59, Koenraad Lelong wrote: >> Hi, >> >> I could be able to purchase a number of second hand intelligent >> barcode scanners. I have project in mind where I could use such >> devices. >> The scanners run Windows CE 5. Is it possible and advisable to >> develop for these devices using Lazarus ? >> I know Lazarus has support for Windows CE, but at the moment I don't >> find which versions are supported. > > Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. To what extent does the choice of CPU matter?

In what sense?

Stephano

Reply by email

JB
to patspiper

Hi, yes, I use Lazarus for WinCE and Windows Mobile, work fine.

Best regards.

Jos? Benedito
JBS Solu??es
Consulting Systems Development
c
www.jbsolucoes.net

skype:
hangouts:
+55 22 30251654
+55 22 996064279

patspiper wrote 32 lines
On 23/05/15 16:20, Mark Morgan Lloyd wrote: > patspiper wrote: > >> On 22/05/15 09:59, Koenraad Lelong wrote: >> >>> Hi, >>> >>> I could be able to purchase a number of second hand intelligent barcode >>> scanners. I have project in mind where I could use such devices. >>> The scanners run Windows CE 5. Is it possible and advisable to develop >>> for these devices using Lazarus ? >>> I know Lazarus has support for Windows CE, but at the moment I don't >>> find which versions are supported. >>> >> >> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >> > > To what extent does the choice of CPU matter? > > In what sense? Stephano -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150523/50f00593/attachment.html>

Reply by email

Mark Morgan Lloyd
to patspiper: In what sense? Stephano
patspiper wrote 18 lines
On 23/05/15 16:20, Mark Morgan Lloyd wrote: > patspiper wrote: >> On 22/05/15 09:59, Koenraad Lelong wrote: >>> Hi, >>> >>> I could be able to purchase a number of second hand intelligent >>> barcode scanners. I have project in mind where I could use such >>> devices. >>> The scanners run Windows CE 5. Is it possible and advisable to >>> develop for these devices using Lazarus ? >>> I know Lazarus has support for Windows CE, but at the moment I don't >>> find which versions are supported. >> >> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. > > To what extent does the choice of CPU matter? > In what sense?

Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was ARM, obviously, and I think there was some other obscure architecture. In the case of ARM, and I'm particularly thinking about Linux on the Raspberry Pi here, there's different subarchitectures.

So I think there's a real possibility that there's CE-compatible boards which could give FPC problems. I'd be happy to be told that's wrong.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

patspiper
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 24 lines
patspiper wrote: > On 23/05/15 16:20, Mark Morgan Lloyd wrote: >> patspiper wrote: >>> On 22/05/15 09:59, Koenraad Lelong wrote: >>>> Hi, >>>> >>>> I could be able to purchase a number of second hand intelligent >>>> barcode scanners. I have project in mind where I could use such >>>> devices. >>>> The scanners run Windows CE 5. Is it possible and advisable to >>>> develop for these devices using Lazarus ? >>>> I know Lazarus has support for Windows CE, but at the moment I >>>> don't find which versions are supported. >>> >>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >> >> To what extent does the choice of CPU matter? >> > In what sense? Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was ARM, obviously, and I think there was some other obscure architecture. In the case of ARM, and I'm particularly thinking about Linux on the Raspberry Pi here, there's different subarchitectures.

Arm has different sub architectures indeed. Lazarus has a selection dropdown list that lists a few of them. But IIRC, WinCE is limited to ARMv4 or below.

So I think there's a real possibility that there's CE-compatible boards which could give FPC problems. I'd be happy to be told that's wrong.

In general:
- FPC should be able to compile for the target CPU.
- WinCE should run on the target.
- Now you can worry if Lazarus WinCE programs could give problems on that target.

But better ask on the FPC list.

Stephano

Reply by email

Sven Barth
to patspiper
patspiper wrote 28 lines
On 23/05/15 21:57, Mark Morgan Lloyd wrote: > patspiper wrote: >> On 23/05/15 16:20, Mark Morgan Lloyd wrote: >>> patspiper wrote: >>>> On 22/05/15 09:59, Koenraad Lelong wrote: >>>>> Hi, >>>>> >>>>> I could be able to purchase a number of second hand intelligent >>>>> barcode scanners. I have project in mind where I could use such >>>>> devices. >>>>> The scanners run Windows CE 5. Is it possible and advisable to >>>>> develop for these devices using Lazarus ? >>>>> I know Lazarus has support for Windows CE, but at the moment I >>>>> don't find which versions are supported. >>>> >>>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >>> >>> To what extent does the choice of CPU matter? >>> >> In what sense? > > Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was > ARM, obviously, and I think there was some other obscure architecture. > In the case of ARM, and I'm particularly thinking about Linux on the > Raspberry Pi here, there's different subarchitectures. Arm has different sub architectures indeed. Lazarus has a selection dropdown list that lists a few of them. But IIRC, WinCE is limited to ARMv4 or below.

Wrong. Windows CE also runs on more modern ARM processors. It's the core of Windows Phone 7 after all.

Show quoted text 9 lines
> > So I think there's a real possibility that there's CE-compatible > boards which could give FPC problems. I'd be happy to be told that's > wrong. In general: - FPC should be able to compile for the target CPU. - WinCE should run on the target. - Now you can worry if Lazarus WinCE programs could give problems on that target.

The order should be:
- WinCE should run on the target
- FPC should be able to compile for WinCE on that target
- worry about LCL

Regards,
Sven

Reply by email

Sven Barth
to Mark Morgan Lloyd: Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was ARM, obviously,…
Mark Morgan Lloyd wrote 28 lines
patspiper wrote: > On 23/05/15 16:20, Mark Morgan Lloyd wrote: >> patspiper wrote: >>> On 22/05/15 09:59, Koenraad Lelong wrote: >>>> Hi, >>>> >>>> I could be able to purchase a number of second hand intelligent >>>> barcode scanners. I have project in mind where I could use such >>>> devices. >>>> The scanners run Windows CE 5. Is it possible and advisable to >>>> develop for these devices using Lazarus ? >>>> I know Lazarus has support for Windows CE, but at the moment I >>>> don't find which versions are supported. >>> >>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >> >> To what extent does the choice of CPU matter? >> > In what sense? Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was ARM, obviously, and I think there was some other obscure architecture. In the case of ARM, and I'm particularly thinking about Linux on the Raspberry Pi here, there's different subarchitectures. So I think there's a real possibility that there's CE-compatible boards which could give FPC problems. I'd be happy to be told that's wrong.

We currently don't support mips64-wince. If you should have a need for it, patches are welcome though. ;)

Otherwise it should merely require setting the target CPU subarchitecture correctly (mainly for ARM ones) and maybe a patch here and there if something is handled too Linux specific for now in the compiler.

Regards,
Sven

Reply by email

patspiper
to Sven Barth: Wrong. Windows CE also runs on more modern ARM processors. It's the core of Windows Phone…
Sven Barth wrote 32 lines
On 23.05.2015 21:29, patspiper wrote: > On 23/05/15 21:57, Mark Morgan Lloyd wrote: >> patspiper wrote: >>> On 23/05/15 16:20, Mark Morgan Lloyd wrote: >>>> patspiper wrote: >>>>> On 22/05/15 09:59, Koenraad Lelong wrote: >>>>>> Hi, >>>>>> >>>>>> I could be able to purchase a number of second hand intelligent >>>>>> barcode scanners. I have project in mind where I could use such >>>>>> devices. >>>>>> The scanners run Windows CE 5. Is it possible and advisable to >>>>>> develop for these devices using Lazarus ? >>>>>> I know Lazarus has support for Windows CE, but at the moment I >>>>>> don't find which versions are supported. >>>>> >>>>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >>>> >>>> To what extent does the choice of CPU matter? >>>> >>> In what sense? >> >> Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was >> ARM, obviously, and I think there was some other obscure architecture. >> In the case of ARM, and I'm particularly thinking about Linux on the >> Raspberry Pi here, there's different subarchitectures. > Arm has different sub architectures indeed. Lazarus has a selection > dropdown list that lists a few of them. But IIRC, WinCE is limited to > ARMv4 or below. Wrong. Windows CE also runs on more modern ARM processors. It's the core of Windows Phone 7 after all.

I recall reading somewhere on the Lazarus/FPC lists or forum that the arm subarchitecture should be set to v4 for WinCE. Could it be a limitation for the emulator?

Show quoted text 15 lines
>> >> So I think there's a real possibility that there's CE-compatible >> boards which could give FPC problems. I'd be happy to be told that's >> wrong. > In general: > - FPC should be able to compile for the target CPU. > - WinCE should run on the target. > - Now you can worry if Lazarus WinCE programs could give problems on > that target. The order should be: - WinCE should run on the target - FPC should be able to compile for WinCE on that target - worry about LCL

My emphasis was on the 3rd point, but you are right in switching the first two.

Regards,
Stephano

Reply by email

Sven Barth
to patspiper
patspiper wrote 36 lines
On 23/05/15 23:22, Sven Barth wrote: > On 23.05.2015 21:29, patspiper wrote: >> On 23/05/15 21:57, Mark Morgan Lloyd wrote: >>> patspiper wrote: >>>> On 23/05/15 16:20, Mark Morgan Lloyd wrote: >>>>> patspiper wrote: >>>>>> On 22/05/15 09:59, Koenraad Lelong wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I could be able to purchase a number of second hand intelligent >>>>>>> barcode scanners. I have project in mind where I could use such >>>>>>> devices. >>>>>>> The scanners run Windows CE 5. Is it possible and advisable to >>>>>>> develop for these devices using Lazarus ? >>>>>>> I know Lazarus has support for Windows CE, but at the moment I >>>>>>> don't find which versions are supported. >>>>>> >>>>>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5. >>>>> >>>>> To what extent does the choice of CPU matter? >>>>> >>>> In what sense? >>> >>> Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was >>> ARM, obviously, and I think there was some other obscure architecture. >>> In the case of ARM, and I'm particularly thinking about Linux on the >>> Raspberry Pi here, there's different subarchitectures. >> Arm has different sub architectures indeed. Lazarus has a selection >> dropdown list that lists a few of them. But IIRC, WinCE is limited to >> ARMv4 or below. > > Wrong. Windows CE also runs on more modern ARM processors. It's the > core of Windows Phone 7 after all. I recall reading somewhere on the Lazarus/FPC lists or forum that the arm subarchitecture should be set to v4 for WinCE. Could it be a limitation for the emulator?

This way you get the most support for Windows Mobile (the old one, not the Windows 10 one) devices as most run on v4 processors. That doesn't mean though that Windows CE doesn't support newer devices. And if you target only newer devices you may set the subarchitecture higher. For example the HTC HD2 (one of the last Windows Mobile phones and *the* Windows Mobile phone, since it's even capable of running Windows RT ;) ) has a ARMv7 CPU.

Regards,
Sven

Reply by email