Recent

Author Topic: Will This Software Run a Windows CE 6.0 Device  (Read 6653 times)

BrianMeek

  • Newbie
  • Posts: 2
Will This Software Run a Windows CE 6.0 Device
« on: October 30, 2016, 06:33:39 pm »
Hi all

Can anybody let me know if I can program up a win CE 6.0 device with this software?

I have been using a retired product called NS Basic CE which was ok for Win CE 5.0 but does not run version 6.0 and unfortunately the device no longer comes with  version 5.0.

This is the URL of the new unit:

http://www.audon.co.uk/windows-ce-panel-pc/CWA-070WR.html

I am using two serial com ports to control a PLC and an Amplifier for a loadcell.

Any help would be much appreciated, I dont really want to go down the microsoft route VS 2008.

Many thanks

Brian

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #1 on: October 30, 2016, 07:23:21 pm »
Hello BrianMeek,
Welcome to this forum.

I never program for WinCE, but it should be okay using Lazarus / FreePascal to write programs for WinCE devices. Here are the wiki pages that explaining about it:

http://wiki.freepascal.org/Windows_CE_Interface
http://wiki.freepascal.org/arm-wince

To be able to write programs using Lazarus/FPC, basically you need to setting up the Windows CE Interface and build your FPC to be able to cross compile to Arm-WinCE, you can follow the instructions on the links above.

But if you are new in Pascal programming, you may need to learn some basic of Pascal programming first. Here are some good tutorials:
http://www.pascal-programming.info/index.php
http://www.marcocantu.com/epascal/English/default.htm
https://www.tutorialspoint.com/pascal/index.htm

BrianMeek

  • Newbie
  • Posts: 2
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #2 on: October 30, 2016, 11:55:38 pm »
Thanks for the heads up on this, it looks quite complicated to me so will not be an easy fix.

I remember using Pascal at college 30 odd years ago so hopefully my memory can cope with the changeover.

Once again many thanks

Brian
« Last Edit: October 31, 2016, 12:23:08 am by BrianMeek »

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #3 on: October 31, 2016, 03:29:52 am »
Actually, setting up interfaces and building cross compiler are easier than they seem, just follow the instructions. If you ever run into troubles, just come back and post your issues. People here are nice.

You may want to know that here has a forum thread specialized for WinCE issues:
http://forum.lazarus.freepascal.org/index.php/board,35.0.html

Have fun!

-----
Correction for my previous post:
It should be: To be able to write programs for WinCE using Lazarus/FPC ...
« Last Edit: October 31, 2016, 03:35:44 am by Handoko »

wadman

  • New Member
  • *
  • Posts: 37
    • wadman's home
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #4 on: October 31, 2016, 07:27:55 am »
Can anybody let me know if I can program up a win CE 6.0 device with this software?

I tested on emulators windows (emb, ce): 5.0 and 6.0.
In 5.0 it works fine.
On 6.0 - the program does not start or silently closed.

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #5 on: October 31, 2016, 08:46:16 am »
Compiled applications in Lazarus are not working on CE 6 / Windows mobile. I have the same problem.
Hopefully the next release of Lazarus will fix the problem. But I know difference of CE5  <--> CE6 are great.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

zmoky

  • New member
  • *
  • Posts: 8
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #6 on: January 19, 2017, 06:56:30 pm »
Can anybody let me know if I can program up a win CE 6.0 device with this software?

I tested on emulators windows (emb, ce): 5.0 and 6.0.
In 5.0 it works fine.
On 6.0 - the program does not start or silently closed.

I have the same issue. Works on Windows CE 5.2.x but not on Windows CE 6.0 Core. Tried also to copy aygshell.dll and coredll.dll but the app does not run.

If you find a way to compile it please tell us.

zmoky

  • New member
  • *
  • Posts: 8
Re: Will This Software Run a Windows CE 6.0 Device
« Reply #7 on: January 19, 2017, 07:41:00 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 !

 

TinyPortal © 2005-2018