标签:
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相互转化
标签:
原文地址:http://www.cnblogs.com/findumars/p/5657069.html