StrPCopy与StrPas功能正好相反,作用是与C语言字符串和Delphi的String相互转化

StrPCopy = Copies an AnsiString (long string) to a null-terminated string.
function StrPCopy(Dest: PAnsiChar; const Source: AnsiString): PAnsiChar; overload;

StrPas = Converts null-terminated string to an AnsiString (long string).
function StrPas(const Str: PAnsiChar): AnsiString; overload;

你可能感兴趣的:(StrPCopy与StrPas功能正好相反,作用是与C语言字符串和Delphi的String相互转化)