Recent

Author Topic: POCKET PC 2002 ERROR WITH LAZARUS urgent!!  (Read 10652 times)

Nilcemar [br]

  • Newbie
  • Posts: 3
POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« on: August 03, 2011, 05:59:27 am »
Hello Friends,

I´m new in Lazarus but i´m have more then 13 years of experiency in Delphi.
I need a urgent help about Lazarus with WinCE Interface.

I made a project for a Symbol PPT2800 (with pocket pc 2002 or WinCE 3.0) but my app don´t work on my handheld. If i test on Microsoft Emulator with WM5 it works perfectly.

When i start the app on ppc2002 nothing do and a new .log file is generated with this informations:


HELLO,   I CANT RUN MY APP ON POCKET PC 2002. IT ONLY GENERATES A LOG FILE ON APP FOLDER ON POCKETPC WITH THIS VALUES: please somebody helpme urgent because i need to run my app on ppc2002


[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00000000
  $0019AF90
  $00020310
TApplication.HandleException Access violation
  Stack trace:
  $00000000
  $0019AF90
  $00020310
[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00000000
  $0019AF90
  $00020310
TApplication.HandleException Access violation
  Stack trace:
  $00000000
  $0019AF90
  $00020310
[FORMS.PP] ExceptionOccurred


Please somebody help me? I need to do this project for PPC 2002 because i have 30 Symbol PPT2800.

Thank you so much!!

Laksen

  • Hero Member
  • *****
  • Posts: 794
    • J-Software
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #1 on: August 03, 2011, 08:08:17 am »
What target and flags did you use when you compiled it for the device?

Which FPC version do you use? And have you tried to see if rebuilding everything with -gl(Display line numbers in ...) gives a more descriptive error message?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #2 on: August 03, 2011, 09:50:46 am »
Hard to say what is the problem without real information of where the error occurs. As Laksen pointed out you could try to rebuild your project with -gl and you could also try to debug the application using GDB. There are tips for that in the forum.

Probably the error is related to your target device being extremely old, the LCL is geared towards Windows CE 4.0+

You could try Lazarus 0.9.28.2 (or even 0.9.26), maybe it works better for this old WinCE version?

Paul Breneman

  • Sr. Member
  • ****
  • Posts: 290
    • Control Pascal
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #3 on: August 04, 2011, 09:49:36 pm »
You might want to try the WinCE minimal distro here and see if those programs run on your device:
  http://www.turbocontrol.com/easyfpgui.htm
Regards,
Paul Breneman
www.ControlPascal.com

Nilcemar [br]

  • Newbie
  • Posts: 3
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #4 on: November 02, 2011, 05:41:50 pm »
Thank´s for all cooperation,

but i see in another site that applications for PPT2800 must be made on Embedded Visual tools 3.0. I made it and work´s fine.

With Lazarus just for PPC2003 and newer...


avra

  • Hero Member
  • *****
  • Posts: 2536
    • Additional info
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #5 on: November 10, 2011, 04:08:43 pm »
You could have upgraded Symbol PPT2800 to Pocket PC 2003:
http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=KB100077&sliceId=&dialogID=41337950&stateId=0%200%2041331615

It is not a free download, but you can get it through your Symbol sales representative.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

delphiturk

  • New Member
  • *
  • Posts: 15
    • Delphiwise
Re: POCKET PC 2002 ERROR WITH LAZARUS urgent!!
« Reply #6 on: February 10, 2012, 03:20:20 pm »
i think your problem is not enough memory. If you make a large exe file, you must be optimize big it.

 

TinyPortal © 2005-2018