[Lazarus] AV in Wince/ARM when run app.

Zaher Dirkey parmaja at gmail.com
Fri Jan 29 22:20:39 CET 2010


On Sun, Jan 24, 2010 at 9:00 PM, Zaher Dirkey <parmaja at gmail.com> wrote:

> 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);
>

Hi,

I guess with my weak experience. the problem about RT_GROUP_ICON it is
PWideChar passed as parameter  PChar, widestring manager here worked to
convert not a real string, RT_GROUP_ICON it is an Integer typecasted as
PWideChar in WinCE.

SY, Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100129/cf96a841/attachment-0004.html>


More information about the Lazarus mailing list