delphi
文章平均质量分 81
ijong
这个作者很懒,什么都没留下…
展开
-
delphi中,char数组、string和Pchar的相互转换
delphi char数组、string和Pchar的相互转换原创kunlun122 最后发布于2013-10-31 17:42:31 阅读数 18702 收藏1.string转换成pchar可以使用pchar进行强制类型转换,也可以使用StrPCopy函数var s:string; p,p1:PChar;begin s:='Hello Delphi';...原创 2020-03-07 12:34:25 · 1566 阅读 · 0 评论 -
运行dos命令,并查看返回结果
方法一: //1,声明变量var CreateOk: Boolean; hReadPipe, hWritePipe, hWriteFile, hReadFile: THandle; processinfo: PROCESS_INFORMATION; function SendCmdToShell(const C原创 2012-03-06 16:25:20 · 3833 阅读 · 0 评论