本文整理自网络,侵删。
Delphi中的strpas是将指针型数据转换为字符串
var
mystr:array[0..20] of char;
begin
mystr:='我的程序';
showmessage(strpas(@mystr));
end;
显示出的信息就是‘我的程序’
相关阅读 >>
Delphi xe webbroker 开发,解决 response 返回中文乱码问题
Delphi winapi: getparent - 判断两个窗口是不是父子关系
delphDelphi chromium embedded 清除指定链接浏览器缓存、cookies
更多相关阅读请进入《Delphi》频道 >>