<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello, FPC developers' list<br>
<br>
Is this supposed to be so? Why not to create an unicode version with
PWideChar arguments and do as in other places {$ifdef Unicode} ?<br>
<br>
>From lazarus mail list:<br>
<br>
On Fri, Jan 29, 2010 at 11:20 PM, Zaher Dirkey <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:parmaja@gmail.com">parmaja@gmail.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <div dir="ltr">
  <div class="im">
  <div class="gmail_quote">On Sun, Jan 24, 2010 at 9:00 PM, Zaher
Dirkey <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:parmaja@gmail.com" target="_blank">parmaja@gmail.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div dir="ltr">I cannot run my application on WinCE  (WM 5 and WM
6.1)<br>
when i remote debug it crash in <br>
    <br>
application.inc line 386<br>
Res := FindResource(HInstance, PChar('MAINICON'), RT_GROUP_ICON);<br
 clear="all">
    </div>
  </blockquote>
  </div>
  <br>
  </div>
Hi,<br>
  <br>
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.<br>
  <br>
  </div>
</blockquote>
</div>
Reported as bug<br>
<a moz-do-not-send="true"
 href="http://bugs.freepascal.org/view.php?id=15665">http://bugs.freepascal.org/view.php?id=15665</a><br>
<br>
<br>
<br>
Best regards,<br>
Paul Ishenin.
</body>
</html>