[fpc-pascal] Ansistrings under Android

de_jean_7777 de_jean_7777 at yahoo.com
Tue Feb 22 19:48:09 CET 2011


On 22.2.2011. 19:34, Andrew Haines wrote:
> Not sure if this is the case for you but I started writing a program for
> arm wince device and I had some trouble because of unaligned access to
> strings.
>
> So "FooString := BarString" in some instances might cause a AV. But
> "FooString := unaligned(BarString)" might work. Although it would
> especially happen when a character alone was accessed i.e. PChar(Foo)[x].
>
> It could be the problem.
>
> Regards,
>
> Andrew Haines
This does not help. The problem is still the same.



More information about the fpc-pascal mailing list