string 到 pchar 的转换函数
gsoft 2000-07-14 03:25:00 各位大虾:
我有个小问题
i 是一个integer;我想在提示框出现后在上面显示我的记录数,我下面的写法是不可以的提示是[Error] Unit1.pas(102): Incompatible types: 'String' and 'PChar'
因此需要一个string 到 pchar 的转换函数,我只找到了strpas,这个正和我的意思相反
application.messagebox('已生成'+inttostr(i)+'记录','记录退出提示',MB_ICONINFORMATION+MB_OK);
email:ccgkmail@263.net