随笔分类 -  《21天学通Delphi》

1 2 3 4 5 ··· 12 下一页

delphi如何把json传递过来的base64值转成图片
摘要:资料来原: https://blog.csdn.net/red_eye/article/details/129634709 delphi如何把json传递过来的base64值转成图片 https://blog.csdn.net/zisongjia/article/details/103423915 阅读全文

posted @ 2023-06-28 22:48 疯狂delphi 阅读(733) 评论(0) 推荐(0)

Delphi-Delphi通过管道执行外部命令行程序(cmd)并获取返回结果
摘要:相关资料: https://www.shuzhiduo.com/A/gGdXxNGmd4/ Delphi通过管道执行外部命令行程序(cmd)并获取返回结果 实例代码: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System 阅读全文

posted @ 2023-05-16 23:17 疯狂delphi 阅读(570) 评论(0) 推荐(0)

Delphi-UTF8转GBK
摘要://///////////////////////////////////////////function TXml.getValue(str: string): string;//传入的UTF8字符串var s: string;begin if FBase64 then begin s := TN 阅读全文

posted @ 2023-04-11 23:52 疯狂delphi 阅读(647) 评论(0) 推荐(0)

Delphi-UniCode转汉字(\u 格式)、汉字转UniCode(\u 格式)
摘要:相关资料: https://www.cnblogs.com/guorongtao/p/14729102.html Delphi UniCode转汉字(\u 格式)、汉字转UniCode(\u 格式) 实例代码: 1、UniCode转汉字 function UnicodeToChinese(sStr: 阅读全文

posted @ 2023-04-02 14:17 疯狂delphi 阅读(0) 评论(0) 推荐(0)

Delphi-二维码生成工具(DelphiZXingQRCode)
摘要:相关资料: http://www.lab-z.com/delphizxingqrcode/ 原文章地址 问题一: 我最近在编写一个二维码生成的代码,使用了 Debenu-DelphiZXingQRCode 这个 VCL ,但是在使用中发现这个工具在编码上存在 bug。具体来说,我需要对一组十六进制字 阅读全文

posted @ 2022-01-16 12:17 疯狂delphi 阅读(2013) 评论(0) 推荐(0)

Delphi自代的JSON类TJSONObject
摘要:相关资料: https://download.csdn.net/download/zhujianqiangqq/56461664 代码包下载 实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, S 阅读全文

posted @ 2021-12-05 22:50 疯狂delphi 阅读(821) 评论(0) 推荐(0)

Delphi两个取字串长度的函数strlen,length
摘要:相关资料: http://www.delphitop.com/html/zifuchuan/1242.html https://www.cnblogs.com/xumenger/p/4443955.html 【strlen】PChar 串专用函数:串长度procedure TForm1.BitBtn 阅读全文

posted @ 2021-07-22 08:43 疯狂delphi 阅读(1261) 评论(0) 推荐(0)

Delphi使用通过WinHTTP下载的文件保存到磁盘
摘要:相关资料: https://www.jb51.cc/delphi/103143.html 使用Delphi XE将通过WinHTTP下载的文件保存到磁盘 https://www.cnblogs.com/huangjacky/archive/2009/12/30/1635830.html Delphi 阅读全文

posted @ 2021-07-09 16:43 疯狂delphi 阅读(271) 评论(0) 推荐(0)

Delphi的文件保存TFileStream(2010版本前后对比)
摘要:// 2010后procedure TForm1.Button3Click(Sender: TObject);var pstr:Pchar; mestr:string; FS:TFilestream; sUString: UTF8String;begin FS:=TFileStream.Create 阅读全文

posted @ 2021-07-07 14:02 疯狂delphi 阅读(380) 评论(0) 推荐(0)

Delphi 中String、ANSIString、TBytes之间的转换
摘要:一、string转为ansistring 1、直接赋值 (有警告) 2、ansistring()类型强制转换。(无警告) 二、ansistring 转为string 1、直接赋值 (有警告) 2、string()类型强制转换。(无警告) 三、string 转为Tbytes 1、bytes:= byt 阅读全文

posted @ 2021-07-07 09:43 疯狂delphi 阅读(692) 评论(0) 推荐(0)

Delphi调用腾讯云最新签名方法v3 TC3-HMAC-SHA256发送短信
摘要:相关资料: https://blog.csdn.net/hsuzo1/article/details/113823621 一、TC3鉴权单元 为了方便复用,写了一个TC3鉴权单元文件:TC3_Authorization.pas 1 { 2 2021-02-15 3 广西南宁 4 张旭州 5 腾讯云 阅读全文

posted @ 2021-03-29 15:29 疯狂delphi 阅读(434) 评论(3) 推荐(0)

winhttp在DelphiXE10.2中的使用
摘要:1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, 7 Vcl.Controls 阅读全文

posted @ 2021-03-29 09:38 疯狂delphi 阅读(546) 评论(0) 推荐(0)

delphi2009及以上版本中String与PAnsiChar转换
摘要:相关资料: http://blog.sina.com.cn/s/blog_140f86bd70102xs49.html 在winsock编程中,使用api函数 inet_addr将ip地址转换成网络字节序时,传入参数类型为直接将string转换成PAnsiChar类型,转换出来的网络字节有错误,无法 阅读全文

posted @ 2020-09-06 17:48 疯狂delphi 阅读(717) 评论(0) 推荐(0)

Delphi判断一个路径是目录还是文件
摘要:1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, 7 Vcl.Controls 阅读全文

posted @ 2020-09-03 21:42 疯狂delphi 阅读(983) 评论(0) 推荐(0)

delphi创建和读取xml(xml简单操作举例)
摘要:https://www.cnblogs.com/cnajian/archive/2011/10/27/2226262.html 有关许多接口,会需要通过xml进行数据交换,弄个例子,方便参考 unit Unit1; interface uses Windows, Messages, SysUtils 阅读全文

posted @ 2020-07-13 21:19 疯狂delphi 阅读(1439) 评论(0) 推荐(0)

教程-is与as的区别?
摘要:相关资料: https://www.cnblogs.com/760044827qq/p/3790666.htmlhttps://www.cnblogs.com/yangxuming/p/9181849.html 代码如下: procedure TForm1.Button1Click(Sender: 阅读全文

posted @ 2020-05-09 12:50 疯狂delphi 阅读(378) 评论(0) 推荐(0)

FMX画图实例
摘要:代码下载: https://download.csdn.net/download/zhujianqiangqq/12394579 代码实例(电脑版、平板版): 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, 阅读全文

posted @ 2020-05-06 20:27 疯狂delphi 阅读(947) 评论(0) 推荐(0)

VCL画图实例
摘要:代码下载: https://download.csdn.net/download/zhujianqiangqq/12394576 代码实例: 1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System. 阅读全文

posted @ 2020-05-06 20:26 疯狂delphi 阅读(489) 评论(0) 推荐(0)

DelphiXE FireMonkey 如何画图
摘要:相关资料: https://stackoverflow.com/questions/10291330/firemonkey-penmode-equivalent-drawline https://blog.csdn.net/shuaihj/article/details/8444676 http:/ 阅读全文

posted @ 2020-05-06 16:33 疯狂delphi 阅读(1454) 评论(0) 推荐(0)

教程-Delphi 启动流程
摘要:Project.DPRInitExeInitiateModuleStartExec SetExceptionHandler InitUnits sysInit System FPUMaskInit FPUInit 系统相关GetVersion.... Types Windows Messages A 阅读全文

posted @ 2020-04-25 15:51 疯狂delphi 阅读(585) 评论(0) 推荐(0)

1 2 3 4 5 ··· 12 下一页

导航