I cannot run my application on WinCE (WM 5 and WM 6.1)
when i remote debug it crash in
application.inc line 386
Res := FindResource(HInstance, PChar('MAINICON'), RT_GROUP_ICON);
There is problem about PChar (see fpc_pwidechar_to_ansistr)
I used fpc 2.4.0 and the last Lazarus from SVN.
-----------------------------------------------------
child process -13636 In: SYSTEM_INDEXWORD$formal$LONGIN* Line: ?? PC:
0x12b78
30c2000:ossvcs.dll
3106000:oleaut32.dll
2f8a000:ws2.dll
7ffe1000:coredll.dll.0409.mui
3135000:ole32.dll
3f4d000:coredll.dll
267b000:packageinfoapi.dll
Program received signal SIGSEGV, Segmentation fault.
0x00012b78 in SYSTEM_INDEXWORD$formal$LONGINT$WORD$$LONGINT ()
(gdb) bt
#0 0x00012b78 in SYSTEM_INDEXWORD$formal$LONGINT$WORD$$LONGINT ()
#1 0x0001abb4 in fpc_pwidechar_to_ansistr ()
#2 0x0004267c in TAPPLICATION__INITIALIZE (this=0x1b215b0)
at ./include/application.inc:386
#3 0x00012128 in RUN () at source/Inventory.lpr:36
#4 0x000122a4 in main () at source/Inventory.lpr:50
(gdb)
-----------------------------------------------------
I have not idea how to wrap on this problem, or, Must i return back to
previous FPC and Lazarus?
Thanks in advanced.
--
Zaher Dirkey
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus