[Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

Dimitrios Chr. Ioannidis dioannidis at artesoft.gr
Thu Sep 11 17:45:44 CEST 2008


Felipe hi,

 > What happens if you execute the application without the debugger? Just
 > build the binary, copy the binary to the device and run it. Does it
 > still crash?

The app doesn't throw exception ( never had a crash ) cause the call to 
RedrawMenus is handled inside a try finally block :

#0 TCUSTOMFORM__SHOWMODAL((TCUSTOMFORM) 0x15a68ac6) at customform.inc:2018
"
...
2016: ModalResult := 0;
2017:
2018:  try
2019:    Show;
...
"
#1 TLISTITEMS__DEFINEPROPERTIES((^TFILER) 0x0, (TLISTITEMS) 0x0) at 
listitems.inc:359
#2 TWINCEWIDGETSET__APPWAITMESSAGE((TWINCEWIDGETSET) 0x96ab20) at 
winceobject.inc:399
#3 TAPPLICATION__IDLE(true, (TAPPLICATION) 0x962310) at application.inc:315
#4 TAPPLICATION__HANDLEMESSAGE((TAPPLICATION) 0x962310) at 
application.inc:985
#5 TAPPLICATION__RUNLOOP((TAPPLICATION) 0x962310) at application.inc:1095
#6 TWIDGETSET__APPRUN((TAPPLICATIONMAINLOOP) 0x30af8 
<TAPPLICATION__RUNLOOP>, (TWIDGETSET) 0x96ab20) at interfacebase.inc:49
#7 TAPPLICATION__RUN((TAPPLICATION) 0x962310) at application.inc:1082
#8 main at DPIfaistos.lpr:18

 > Are you using the emulator or a real device? Which WinCE version?

Currently i'm doing the tests to a device with Windows Mobile 2003 
Second Edition - Version 4.21.1088 (Build 14235). It's a Qtek 2020i 
PocketPC. Didn't test it in Emulator.

regards,

PS: Fpc 2.2.2, Lazarus v0.9.25 r16538 i386-win32-win32/win64

-- 
Dimitrios Chr. Ioanidis




More information about the Lazarus mailing list