
Delphi
爱蹄子的羊头
中电金信GienTech开发工程师,原博雅互动开发工程师
展开
-
lazarus 下载地址
lazarus-2.0.10-fpc-3.2.0-win64.exe链接:https://pan.baidu.com/s/1RrAJOxtCw74RFS4270JurA提取码:jcrf原创 2021-01-25 14:54:31 · 531 阅读 · 0 评论 -
Delphi 制作的服务的调用顺序
安装服务Service.exe /install ServiceCreate ServiceBeforeInstall ServiceAfterInstall ServiceDestroy 卸载服务Service.exe /uninstall ServiceCreate ServiceBeforeUninstall ServiceAfterUninstall ServiceDestroy 启动服务 S...原创 2021-01-09 17:54:46 · 136 阅读 · 0 评论 -
Delphi Base32 的加密和解密
const ValidChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';// Base32解码function Base32Decode(const source: string): string;var UpperSource: string; p, i, l, n, j: Integer;begin UpperSource :=...原创 2019-11-19 17:04:35 · 566 阅读 · 0 评论 -
Delphi 启动程序
program Project1;uses Winapi.Windows, System.IOUtils;{$R *.res}procedure myCreateProcess();var StartupInfo: Winapi.Windows.TStartupInfo; ProcessInfo: Winapi.Windows.TProcessInformation;...原创 2019-11-08 16:11:07 · 559 阅读 · 0 评论 -
Delphi 简单Post
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdBaseComponent, IdComponent, ...原创 2019-07-16 15:30:29 · 1350 阅读 · 0 评论 -
Delphi 如何简单的做一个登录窗体
1. 在 工程文件里不要创建 loginFORM Application.Initialize; Application.MainFormOnTaskbar := True; Application.CreateForm(TMainForm, MainForm); Application.Run;2 在主窗体的FormCreateprocedure TMa...原创 2019-06-14 11:51:42 · 1624 阅读 · 0 评论 -
Delphi 自带线程池
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Threading, Vcl.StdCtrls;...原创 2018-12-28 16:39:05 · 5212 阅读 · 3 评论 -
Delphi 获取系统时间分隔符
这段代码本身是没有问题的,但是发现如果更改了系统日期分隔符(例如将系统日期分隔符更改为2016/4/11,“-”变为"/"),StrToDate就会报错,提示:'2016-4-11'不是有效日期类型,通过这个可以说明StrToDate函数是转换的依据就是系统当前日期分隔符,所以我们要像上面代码将字符串转换为日期类型,必须先同步当前系统日期分隔符,以让程序适应系统。//声明一个返回当前日期分隔符的函...转载 2018-02-27 12:02:45 · 1595 阅读 · 0 评论 -
VerySimple.Lua 2.0 print 中文乱码问题
function TVerySimpleLua.Print(L: Lua_State): Integer;var N, I: Integer; S: MarshaledAString; Sz: size_t; Msg: String;begin Msg := ''; N := lua_gettop(L); //* number of arguments */原创 2018-01-18 19:24:16 · 1140 阅读 · 0 评论 -
Delphi 下找到目录中的所有文件夹
uses ioutils, Typesprocedure TForm2.FormCreate(Sender: TObject);var dfs : TStringDynArray; strDirectory : string;begin dfs := TDirectory.GetDirectories('C:\abcde', '*'); for strDirecto原创 2017-11-28 16:10:34 · 2121 阅读 · 0 评论 -
从Delphi开始学Cocos2dx-3.0[16]:LUA脚本接入
工作原因没怎么更新. 不想有其他朋友找到我的联系方式, 想原创 2014-10-28 10:03:46 · 1411 阅读 · 0 评论 -
从Delphi开始学Cocos2dx-3.0[0]: VS2012 与 安装 cocos2d-x-3.0alpha0
11原创 2013-12-11 11:15:01 · 3416 阅读 · 0 评论