Recent

Author Topic: Wince Program Stability  (Read 7868 times)

oparidae

  • Newbie
  • Posts: 3
Wince Program Stability
« on: April 06, 2011, 10:32:16 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Wince Program Stability
« Reply #1 on: April 07, 2011, 11:09:02 am »
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

  • Newbie
  • Posts: 3
Re: Wince Program Stability
« Reply #2 on: April 07, 2011, 11:22:06 am »
Thanks Felipe,

I did a arm-wince-strip.exe and it's working fine by now, i'll test further.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Wince Program Stability
« Reply #3 on: April 07, 2011, 12:45:41 pm »
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

  • Newbie
  • Posts: 3
Re: Wince Program Stability
« Reply #4 on: April 11, 2011, 12:18:54 pm »
Sorry! It was really the simplest problem, lack of ram!
 Keep up the good work!

 

TinyPortal © 2005-2018