app not run lazarus / 35-Windows CE ---------------------------------------------------------------------- copen · 2016-07-15 16:04 Hello, My app runs on OS windows, but not on mobile pc with OS Windows Embedded handheld 6.5 professional, CE OS 5.2.29344, processor TI Cortex-A9. I have installed Lazarus-1.6.0-fpc-3.0.0-win32 - Lazarus-1.6.0-fpc-3.0.0-cross-arm-wince .. options -Twince -Parm -Cp(predefinito, the only accepted). The app not runs, it is only a form with a button ---------------------------------------------------------------------- Handoko · 2016-07-15 17:16 To be able to generate code to run on WinCE, you also need to rebuild your Lazarus with WinCE Widget. Have you done it? I'm not a WinCE user, hope this link may help: http://wiki.lazarus.freepascal.org/Windows_CE_Interface ---------------------------------------------------------------------- copen · 2016-07-18 08:19 I have rebuild , and also "repulish and rebuld", but nothing is changed. ---------------------------------------------------------------------- Handoko · 2016-07-18 10:35 Quote from: copen on July 18, 2016, 10:19:13 amI have rebuild , and also "repulish and rebuld", but nothing is changed. Have you installed WinCE Widgetset? I'm not really sure, but I think you maybe have not installed WinCE LCL Widget type properly. Please see the attached image. To do it: goto Lazarus main menu > Tools > Configure Build Lazarus. For more information, you can look at this link (see the bottom-most "Using Lazarus" topic): http://wiki.lazarus.freepascal.org/User:CCRDude ---------------------------------------------------------------------- copen · 2016-07-18 10:58 No, I haven't configured; now I have configured as image, but I have errors, I attach image ---------------------------------------------------------------------- Handoko · 2016-07-18 14:23 Nothing more I can help. I tried to build WinCE LCL Widget, but failed. According to the link I gave you, it mentions that Windows is the prerequisites to build the WinCE tutorials. I use Linux, perhaps that explain why I failed. Hope some WinCE experts will step in to help you. ---------------------------------------------------------------------- Handoko · 2016-07-19 02:55 Quote from: copen on July 18, 2016, 12:58:59 pmNo, I haven't configured; now I have configured as image, but I have errors, I attach image If you can't use WinCE Widgetset, you may try fpGUI widget. On its website, it says it support WinCE. Here is the link: http://fpgui.sourceforge.net/index.shtml ---------------------------------------------------------------------- Kelsey · 2017-04-26 14:34 You've probably fixed this issue, but for future users looking to this post for answers, I'll still post. I have no issues compiling applications for WinCE using Lazarus, but I have never been able to build Lazarus with the WinCE widgetset. (It gives the error pictured above.) The following options are what I change to be able to compile applications: Project Options -> Compiler Options -> Config and Target -> Target OS -> WinCE Project Options -> Compiler Options -> Config and Target -> Target CPU family -> arm (I do not have a target processor selected.) Project Options -> Compiler Options -> Additions and Overrides -> Set "LCLWidgetType" -> WinCE In the Additions and Overrides screen, ensure that the checkboxes next to the "LCLWidgetType:=wince" are all selected, and if there are any checkboxes for another widget type, uncheck those. This allows me to compile for WinCE and run the exe on the device ---------------------------------------------------------------------- Handoko · 2017-04-26 15:53 Thanks for sharing the information.