摘要:资料来原: https://blog.csdn.net/red_eye/article/details/129634709 delphi如何把json传递过来的base64值转成图片 https://blog.csdn.net/zisongjia/article/details/103423915
阅读全文
摘要:相关资料: https://www.shuzhiduo.com/A/gGdXxNGmd4/ Delphi通过管道执行外部命令行程序(cmd)并获取返回结果 实例代码: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System
阅读全文
摘要://///////////////////////////////////////////function TXml.getValue(str: string): string;//传入的UTF8字符串var s: string;begin if FBase64 then begin s := TN
阅读全文
摘要:相关资料: https://www.cnblogs.com/guorongtao/p/14729102.html Delphi UniCode转汉字(\u 格式)、汉字转UniCode(\u 格式) 实例代码: 1、UniCode转汉字 function UnicodeToChinese(sStr:
阅读全文
摘要:相关资料: http://www.lab-z.com/delphizxingqrcode/ 原文章地址 问题一: 我最近在编写一个二维码生成的代码,使用了 Debenu-DelphiZXingQRCode 这个 VCL ,但是在使用中发现这个工具在编码上存在 bug。具体来说,我需要对一组十六进制字
阅读全文
摘要:相关资料: https://download.csdn.net/download/zhujianqiangqq/56461664 代码包下载 实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, S
阅读全文
摘要:相关资料: http://www.delphitop.com/html/zifuchuan/1242.html https://www.cnblogs.com/xumenger/p/4443955.html 【strlen】PChar 串专用函数:串长度procedure TForm1.BitBtn
阅读全文
摘要:相关资料: https://www.jb51.cc/delphi/103143.html 使用Delphi XE将通过WinHTTP下载的文件保存到磁盘 https://www.cnblogs.com/huangjacky/archive/2009/12/30/1635830.html Delphi
阅读全文
摘要:// 2010后procedure TForm1.Button3Click(Sender: TObject);var pstr:Pchar; mestr:string; FS:TFilestream; sUString: UTF8String;begin FS:=TFileStream.Create
阅读全文
摘要:一、string转为ansistring 1、直接赋值 (有警告) 2、ansistring()类型强制转换。(无警告) 二、ansistring 转为string 1、直接赋值 (有警告) 2、string()类型强制转换。(无警告) 三、string 转为Tbytes 1、bytes:= byt
阅读全文
摘要:相关资料: https://blog.csdn.net/hsuzo1/article/details/113823621 一、TC3鉴权单元 为了方便复用,写了一个TC3鉴权单元文件:TC3_Authorization.pas 1 { 2 2021-02-15 3 广西南宁 4 张旭州 5 腾讯云
阅读全文
摘要: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
阅读全文
摘要:相关资料: http://blog.sina.com.cn/s/blog_140f86bd70102xs49.html 在winsock编程中,使用api函数 inet_addr将ip地址转换成网络字节序时,传入参数类型为直接将string转换成PAnsiChar类型,转换出来的网络字节有错误,无法
阅读全文
摘要: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
阅读全文
摘要:https://www.cnblogs.com/cnajian/archive/2011/10/27/2226262.html 有关许多接口,会需要通过xml进行数据交换,弄个例子,方便参考 unit Unit1; interface uses Windows, Messages, SysUtils
阅读全文
摘要:相关资料: https://www.cnblogs.com/760044827qq/p/3790666.htmlhttps://www.cnblogs.com/yangxuming/p/9181849.html 代码如下: procedure TForm1.Button1Click(Sender:
阅读全文
摘要:代码下载: https://download.csdn.net/download/zhujianqiangqq/12394579 代码实例(电脑版、平板版): 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types,
阅读全文
摘要:代码下载: https://download.csdn.net/download/zhujianqiangqq/12394576 代码实例: 1 unit Unit1; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System.
阅读全文
摘要:相关资料: https://stackoverflow.com/questions/10291330/firemonkey-penmode-equivalent-drawline https://blog.csdn.net/shuaihj/article/details/8444676 http:/
阅读全文
摘要:Project.DPRInitExeInitiateModuleStartExec SetExceptionHandler InitUnits sysInit System FPUMaskInit FPUInit 系统相关GetVersion.... Types Windows Messages A
阅读全文