Hello,
This simple program:
program _simple;
var
tmpstr:string;
tmppchar:PChar;
buf: array[0..2] of Char;
begin
buf[0]:='A'; buf[1]:='B'; buf[2]:=#0;
tmppchar := @buf[0];
tmpstr := tmppchar;
end.
... works on most WinCE devices except one I have. Windows Embedded 6.0 core, ARM Mstar 2531.
I have got "Runtime Error 216". I have tried different options like optimalizations levels and different target processors without luck.
Any ideas?