type PAnsiChar = ^AnsiChar;
typedef char* PAnsiChar; //
Defines a null-terminated ANSI string.
PAnsiChar is not supported by the Delphi Next Generation (mobile) compilers, but is used by the Delphi desktop compilers.
- PAnsiChar is inherently unsafe if used in combination with normal AnsiString values. PAnsiChar variables are not reference-counted and are not copy-on-written. This may result in corruption of the AnsiString values or memory leaks.
- PAnsiChar is used by the Delphi desktop compilers, but is not supported by the Delphi mobile compilers. For more information, see Migrating Delphi Code to Mobile from Desktop.