Recent

Author Topic: Lazarus project does not run on windows ce  (Read 25379 times)

Laksen

  • Hero Member
  • *****
  • Posts: 624
    • J-Software
Re: Lazarus project does not run on windows ce
« Reply #30 on: May 27, 2014, 06:51:18 pm »
Don't you have debugging tools for Windows CE?

strovatsek

  • New member
  • *
  • Posts: 7
Re: Lazarus project does not run on windows ce
« Reply #31 on: May 27, 2014, 08:39:32 pm »
No I don't have.

robinhodemorais

  • New Member
  • *
  • Posts: 16
Re: Lazarus project does not run on windows ce
« Reply #32 on: June 25, 2014, 07:46:28 pm »
where I set ?

I removed the function calls in WinCe-LCL, and my Test-App works!
It looks like, they are not necessary for desktop - applications.
Now I will test my App, when it also works fine, I will post the changes in the WinCE-LCL.

Quote
help ?

What is the problem, now ?

zmoky

  • New member
  • *
  • Posts: 8
Re: Lazarus project does not run on windows ce
« Reply #33 on: January 18, 2017, 09:57:25 pm »
Can you explain what change you did ?

I have the same issue with a Marvell PXA 320 CPU Win CE 6.0 Core ( fpc 3.0.0, wince, arm, default architecture ) and when I start the app nothing happens.

I tried several things like changing the architecture but without any result.

The same app works on a Windows Embedded Handled 6.5 Classic

zmoky

  • New member
  • *
  • Posts: 8
Re: Lazarus project does not run on windows ce
« Reply #34 on: January 18, 2017, 10:22:47 pm »
After some reading done on the forum, it seems that lazarus is not supporting wince version greater than 5.2.x.

Is there any change to compile this for wince 6.x ? with a Marvell PXA 320 CPU processor ?

What is robinhodemorais saying below ?

where I set ?

I removed the function calls in WinCe-LCL, and my Test-App works!
It looks like, they are not necessary for desktop - applications.
Now I will test my App, when it also works fine, I will post the changes in the WinCE-LCL.

Quote
help ?

What is the problem, now ?

Thank you

zmoky

  • New member
  • *
  • Posts: 8
Re: Lazarus project does not run on windows ce
« Reply #35 on: January 19, 2017, 07:39:42 pm »
I am writing to all the threads that I read and related to my issue, with the working solution

Compiling sample app with a button for closing it, using the following setup:

Target OS: WinCE
Target CPU family: arm
Target processor: Default
LCLWidgetType:=wince

Installed sourceforge Lazarus in this order:
    - lazarus-1.6.2-fpc-3.0.0-win32.exe
    - lazarus-1.6.2-fpc-3.0.0-cross-arm-wince-win32.exe

Tested on hardware:
    - Symbol MC2180 Windows CE 6.0 Core with Marvell PXA 320 CPU
    - Intermec Windows Embedded Handheld 6.5 Classic ( Windows CE 5.2.29354 ) with ARM Cortex-A8 OMAP3 processor

It worked on the WinCE 5.2.x but did not reacted in any way when I stared the app on the Win CE 6.0 Core.

After I copied the aygshell.dll file in the same dir with the app it started to work also on Windows CE 6.0 ( MC2180 ).

I used the http://hpcmonex.net/izemize.htm aygshell collection, file 12 ( size: 22,016 bytes ).

For any questions related to dev in the os and hw above you can contact me on my gmail id: zmooky.

I send my thanks to the fpc team for the great work that they did !

avra

  • Hero Member
  • *****
  • Posts: 1737
    • Additional info
Re: Lazarus project does not run on windows ce
« Reply #36 on: January 22, 2017, 04:33:06 pm »
After I copied the aygshell.dll file in the same dir with the app it started to work also on Windows CE 6.0 ( MC2180 ).
Could you please document this workaround in the wiki, so it does not get forgotten?
http://wiki.freepascal.org/WinCE_port
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib