Forum > Windows CE

Simple Application, Error 216 on one WinCE Device

(1/2) > >>

tsr:
Hello,

This simple program:

--- Code: ---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. 

--- End code ---

... 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?

Laksen:
Which FPC version, and what processor was the RTL compiled for?

tsr:
Tried FPC versions: 2.6.4 and 2.7.1, crosscompile: i386-win32 -> arm-wince.

CM630:
Did you have some success with your Mstar 2531 device? I have troubles with a navigation system with the same processor.

CM630:
A year later- I wonder if wince support is still developed? If so, maybe it is worth trying to build a simple app again and try if it will work on my device.

Navigation

[0] Message Index

[#] Next page

Go to full version