上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 153 下一页
摘要: 关于错误Access Violation和too many consecutive exceptions 解决方法“如果DLL中用到了DELPHI的string类型,则DLL和主程序中都需要加上ShareMem”。DLL项目加ShareMem这个我知道,但主程序中也要加?这我就不明白了,为什么以前不... 阅读全文
posted @ 2016-01-19 17:29 tc310 阅读(412) 评论(0) 推荐(0)
摘要: Delphi PChar与String互转1.String转化成PChar例:var str: string; pStr:PChar;...pStr := PChar(str);2.PChar转String例:varpStr:PChar; str:string;...str := strPas(pS... 阅读全文
posted @ 2016-01-19 17:16 tc310 阅读(537) 评论(0) 推荐(0)
摘要: Delphi+MySQL:TADOQuery使用插入中文乱码解决方法with adoquery dobeginclose;sql.clear;sql.text:=' insert into test (FieldName) values (:FieldName) ';Parameters.Param... 阅读全文
posted @ 2016-01-19 17:15 tc310 阅读(719) 评论(0) 推荐(0)
摘要: Delphi中的操作二进制文件的两个重要函数对于通过Byte数组进行文件操作的,在FTP中经常会使用到,我也是在Delphi调用Web Service进行文件的上传和下载时找到这两个函数的,挺好用的,推荐给大家。(申明:非本人所写)1. 将Byte数组生成文件procedureByteArrayTo... 阅读全文
posted @ 2016-01-19 17:13 tc310 阅读(1144) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/JackSun/archive/2010/12/16/1908104.html此窗体,只需要简单准备如下,即可运行: 1,添加一个TAdvStringGrid,并命名为strGrid1。 2,设置:TAdvStringGrid-->option-->go... 阅读全文
posted @ 2016-01-19 16:56 tc310 阅读(2216) 评论(0) 推荐(0)
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 153 下一页