[fpc-pascal] widestring related? problem on arm (2.3.1)

Terry Kemp klc at klc.net.nz
Mon Nov 3 01:06:30 CET 2008


I'm getting a runtime error 231 when starting program on arm.
Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9).

Do I need to define something on arm for widestrings?

Thanks

Terry

root at gumstix-custom-verdex:~$ project2 -qws
[HINT] TWinControl.CreateWnd creating Handle during loading Form1:TForm1
csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
Panel2:TPanel csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
StatusBar1:TStatusBar csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
BitBtn4:TBitBtn csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
BitBtn1:TBitBtn csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
BitBtn7:TBitBtn csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
BitBtn8:TBitBtn csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading
Panel3:TPanel csDesigning=False
Ansi2WideMove 9
Runtime error 231 at $0009D058
  $0009D058  ANSI2WIDEMOVE,  line 269 of ../unix/cwstring.pp
  $0002B654  fpc_char_to_uchar,  line 644
of /build/gumstix/gumstix-fpc/fpc-svn/rtl/inc/ustrings.inc
  $0002BDC4  POS,  line 1570
of /build/gumstix/gumstix-fpc/fpc-svn/rtl/inc/ustrings.inc
  $001B1EE8  TQTSTATICTEXT__SETTEXT,  line 4177 of qtwidgets.pas
  $001A1018  TQTWSWINCONTROL__SETTEXT,  line 360 of qtwscontrols.pp
  $000EA390  TWINCONTROL__WSSETTEXT,  line 4754
of ./include/wincontrol.inc
  $000EE974  TWINCONTROL__INITIALIZEWND,  line 6615
of ./include/wincontrol.inc
  $000EE484  TWINCONTROL__CREATEWND,  line 6525
of ./include/wincontrol.inc
  $000EDFD0  TWINCONTROL__CREATEHANDLE,  line 6440
of ./include/wincontrol.inc
  $000EF48C  TWINCONTROL__HANDLENEEDED,  line 6831
of ./include/wincontrol.inc





More information about the fpc-pascal mailing list