[Lazarus] Windows CE

Sven Barth pascaldragon at googlemail.com
Sat May 23 22:40:42 CEST 2015


On 23.05.2015 22:34, patspiper wrote:
> 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





More information about the Lazarus mailing list