Sven Barth schrieb:
Am 01.12.2014 10:33 schrieb "Hans-Peter Diettrich" <drdiettri...@aol.com
<mailto:drdiettri...@aol.com>>:
> Another one:
> Delphi XE does not export the CP_xxx encoding constants from
System.pas. This means that the encoding constants are not available in
(compatible) user code.
It's not the first and likely not the last we export from a different
unit than Delphi. There will *always* be differences which already
starts with Integer that is declared as an alias to LongInt in the
ObjPas unit in FPC.
Well, Integer (and String...) are generic types, adjustable to the
"best" overall performance on every target - whatever "best" will mean.
> CP_NONE is declared in Windows.pas for clipping, as:
> CP_NONE = 0; { No clipping of output }
> different from the CP_NONE encoding ($FFFF).
Do they really not have a CP_NONE constant in System?
No, not even in the definition of RawByteString, and not in any other
standard (RTL...) source file (except Windows.pas, see above).
DoDi
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel