Help on starting with WinCE 5.0 lazarus / 35-Windows CE ---------------------------------------------------------------------- dario · 2011-10-25 07:45 Hello, i am on the first steps to use Lazarus for wince. I have a windows CE Emulator, version 5.3.0.26 donwloaded from Microsoft. I have installed the two lazarus kit: - lazarus-0.9.30-fpc-2.4.2-win32 - Lazarus-0.9.30-fpc-2.4.2-cross-arm-wince-win32(2) I have configured lazarus as indicated in wiki document "Windows CE Interface", and i have compiled a little Tform with a Tbutton, but i have the error >>"test1" (name of my program) is not a valid Window CE Application<< when trying to run it on the emualtor. I copied all the folder of my lazarus project "test1" into stoarga card emulated in the emulator, and run from it folder. I have that error! The executable is 1.888 KByte. Looiking for this error in Internet i dont' solve the situation. Lazarus seems to be configured well, but it don't run on Win CE. What can i try? my goal is to make a litte application to works with barcode terminal with wince, and i can't run in the emulator, so i'm again at the first step ... Many thanks to help me! Dario ---------------------------------------------------------------------- felipemdc · 2011-10-25 08:10 Which emulator are you using exactly? The one recommended by the wiki? Is it for arm? In any case, this is a FAQ: http://wiki.lazarus.freepascal.org/WinCE_P rogramming_Tips#The_error_message:_SomeProject_is_not_a_valid_Windows_ CE_application You probably forgot to set the operating system or architecture. ---------------------------------------------------------------------- avra · 2011-10-25 09:01 Have you searched the forum? http://www.lazarus.freepascal.org/index.php/topic,14353.msg76031.html# msg76031 ---------------------------------------------------------------------- dario · 2011-10-25 09:34 Quote from: felipemdc on October 25, 2011, 10:10:23 amWhich emulator are you using exactly? The one recommended by the wiki? Is it for arm? I take it from Microsoft page. http://www.microsoft.com/download/en/details.aspx?id=18481 Thanks to help me, Dario ---------------------------------------------------------------------- dario · 2011-10-25 09:46 Quote from: avra on October 25, 2011, 11:01:41 amHave you searched the forum? http://www.lazarus.freepascal.org/index.php/topic,14353.msg76031.html# msg76031 I'm trying installing CodeTyphon, this will be more simple than autoconfiguring Lazarus? May thanks, Dario ---------------------------------------------------------------------- felipemdc · 2011-10-25 11:11 Quote from: dario on October 25, 2011, 11:34:12 amI take it from Microsoft page. http://www.microsoft.com/download/en/details.aspx?id=18481 That does not explain anything about which image you are using and if it is for arm. I recommend using the emulators recommended by the Wiki: http://wiki.l azarus.freepascal.org/Windows_CE_Interface#Installing_and_Using_the_Po cket_PC_Emulator ---------------------------------------------------------------------- dario · 2011-10-26 08:46 Many thanks!! It works fine now,  form the links of wiki! The WinCE emulator i used did not have arm processor emulated i think ... A question. If i made an application for Windows Mobile 5.0,  very simple, reading and writing a file and some buttons to press, on other words without any special integration with the operative system, it works on WinCE if the processor is arm? Many Thanks for the reply! Dario ---------------------------------------------------------------------- felipemdc · 2011-10-26 09:52 Quote from: dario on October 26, 2011, 10:46:42 amA question. If i made an application for Windows Mobile 5.0,  very simple, reading and writing a file and some buttons to press, on other words without any special integration with the operative system, it works on WinCE if the processor is arm? You dont need to be so restrictive. You can even use lNet to send e-mails or http requests, access sqlite databases, write files, etc. You can also call operating system APIs: http://wiki.lazarus.freepascal.org/WinCE_Programming_Tips