标签:
1.String转化成PChar 例: var str: string; pStr:PChar; ... pStr := PChar(str); 2.PChar转String 例: var pStr:PChar; str:string; ... str := strPas(pStr);
Delphi PChar与String互转
原文地址:http://www.cnblogs.com/go-jzg/p/4186100.html