Wince Program Stability lazarus / 35-Windows CE ---------------------------------------------------------------------- oparidae · 2011-04-06 20:32 Hi there, it's been 6 years since I've done some  object pascal coding. Now I want to ditch microsoft tools to build simple comm apps for wince. I have only one problem, if I build a simple app.. like a form with a single button, the program disappears from the running programs list after a while, what I'm doing wrong? I've tested both wince5 and wm6.1 installed: -lazarus-0.9.30-fpc-2.4.2-win32.exe -Lazarus-0.9.30-fpc-2.4.2-cross-arm-wince-win32.exe ---------------------------------------------------------------------- felipemdc · 2011-04-07 09:09 Looks like this problem: http://bugs.freepascal.org/view.php?id=18951 It appears on some devices, but I've never been able to reproduce myself, so I wouldn't say it is common. You could try Lazarus 0.9.24 or Lazarus 0.9.26, someone reported that an older version didn't present the problem. If it isn't the case, then maybe your device is simply running out of RAM ---------------------------------------------------------------------- oparidae · 2011-04-07 09:22 Thanks Felipe, I did a arm-wince-strip.exe and it's working fine by now, i'll test further. ---------------------------------------------------------------------- felipemdc · 2011-04-07 10:45 Ok, so it is pretty clear what happened in your case: The EXE was too big with the debug info. Windows CE needed RAM memory for other programs, so it killed the application. I don't think it has anything to do with the bug report that I mentioned. That's normal behavior in WinCE. (And Android too, by the way) ---------------------------------------------------------------------- oparidae · 2011-04-11 10:18 Sorry! It was really the simplest problem, lack of ram!  Keep up the good work!