上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页
摘要: library DLLEntry;//dll源码 uses SysUtils, Classes, Dialogs, Windows; {$R *.res} procedure DLLEntryPoint(dwReason : DWord); begin ... 阅读全文
posted @ 2014-10-18 15:25 孤舟残月浅笑嫣然 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: CALL DWord Ptr [] kernel32.WriteFile 将数据写入一个文件,也可将这个函数应用于对通信设备、管道、套接字以及邮槽的处理 CALL DWord Ptr [] ker... 阅读全文
posted @ 2014-10-18 15:23 孤舟残月浅笑嫣然 阅读(749) 评论(0) 推荐(0) 编辑
摘要: uses pngimage; {从 png 图片到十六进制字符串} function Png2Hex(png: TPngImage): string; var stream: TMemoryStream; begin stream := TMemoryStream.Creat... 阅读全文
posted @ 2014-10-18 15:16 孤舟残月浅笑嫣然 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: delphi 获取硬盘 序列号 function GetIdeNum: String; type TSrbIoControl = packed record HeaderLength : ULONG; Signature : Array[0..7] of Cha... 阅读全文
posted @ 2014-10-18 15:11 孤舟残月浅笑嫣然 阅读(3238) 评论(0) 推荐(0) 编辑
摘要: delphi读写ini文件实例 //--两个过程,主要实现:窗体关闭的时候,文件保存界面信息;窗体创建的时候,程序读取文件文件保存的信息。 //--首先要uses IniFiles(单元) //--窗体创建的时候,读取ini文件信息 procedure TfrmAFN04H_F9.... 阅读全文
posted @ 2014-10-18 15:09 孤舟残月浅笑嫣然 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 一、设计窗口 1) file---new--Application,新建一个窗体,设置该窗体的属性:Caption==登录窗口 2) procedure TForm1.btn1Click(Sender: TObject); begin form2.show;//需要再建立一个f... 阅读全文
posted @ 2014-10-18 15:07 孤舟残月浅笑嫣然 阅读(128) 评论(0) 推荐(0) 编辑
摘要: {*******************************************************} { } { Delphi公用函数单元 ... 阅读全文
posted @ 2014-10-18 15:05 孤舟残月浅笑嫣然 阅读(871) 评论(0) 推荐(0) 编辑
摘要: var SI : TStartupInfo; PI : TProcessInformation; pid:DWORD; begin ZeroMemory(@SI, SizeOf(SI)); //ZeroMemory宏用0来填充一块内存区域 SizeOf//Pasca... 阅读全文
posted @ 2014-10-18 15:03 孤舟残月浅笑嫣然 阅读(345) 评论(0) 推荐(0) 编辑
摘要: procedure TForm1.btn1Click(Sender: TObject); var h: HWnd; p: array[0..254] of char; TitleStr: string; begin h := GetWindow(Handle, GW_HW... 阅读全文
posted @ 2014-10-18 15:02 孤舟残月浅笑嫣然 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 本文主要跟大家介绍Delphi中获取其它进程的窗口句柄,在Delphi中获取其它进程的窗口句柄,绝大部分人首先想到的会使用:FindWindow或者用GetWindow来遍历查找,如: handle := FindWindow(nil,PChar('窗口的标题')); 或者: pr... 阅读全文
posted @ 2014-10-18 14:58 孤舟残月浅笑嫣然 阅读(1619) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页