[Lazarus] Unicode branch
Paul Ishenin
ip at kmiac.ru
Mon Jun 10 05:49:09 CEST 2013
08.06.2013 21:53, Marco van de Voort пишет:
> graphic.inc(155,66) Error: Incompatible type for arg no. 3: Got "PChar",
> expected "PWideChar"
Stream := TResourceStream.CreateFromID(Instance, ResID, ResType);
ResType is of type TResourceType which is declared in lcltype.pp as
{$ifdef UNICODE}
TResourceType = PWideChar;
{$else}
TResourceType = PChar;
{$endif}
> since the units are compiled in objfpc mode, and not in mode delphiunicode
>
> Probably for now, it is best to change those issues all by appending a -A.
This particular issue will not be solved this way.
Best regards,
Paul Ishenin
More information about the Lazarus
mailing list