摘要: 对于指针类型的Char,Delphi中有PChar, PWideChar, pAnsiChar三种数据类型在 Delphi2010 之前,默认PChar是PAnsiChar,和string,AnsiString,WideString 类似,Wide前缀的和其他语言中的是类似的。当然Char,Ansi 阅读全文
posted @ 2021-01-15 16:15 此木为柴 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: 参考万一老师的blog: https://www.cnblogs.com/del/archive/2007/12/07/986020.html 注:external 后面要不要跟name关键字,在于函数/过程名是否和dll定义文件中的函数/过程名一致。如果不一致,则需用name关键字,相当于在使用单 阅读全文
posted @ 2021-01-15 16:08 此木为柴 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一个在线查询windows api 函数的网址:http://www.office-cn.net/t/api/api_content.htm 阅读全文
posted @ 2021-01-15 16:04 此木为柴 阅读(1620) 评论(0) 推荐(0) 编辑
摘要: 1 unit Unit1; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, StdCtrls, Buttons; 8 9 ty 阅读全文
posted @ 2021-01-15 15:58 此木为柴 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-29 12:39 此木为柴 阅读(744) 评论(0) 推荐(0) 编辑
摘要: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Decla 阅读全文
posted @ 2020-05-13 09:41 此木为柴 阅读(2557) 评论(0) 推荐(0) 编辑
摘要: Private Sub btn1_Click() 't1 = Timer Dim i As Long, j As Long, sht As Worksheet 'i,j为整数变量;sht 为excel工作表对象变量,指向某一工作表, 定义为Integer类型的话,变量值超过32767时会溢出 'Di 阅读全文
posted @ 2020-05-11 16:26 此木为柴 阅读(1650) 评论(0) 推荐(0) 编辑
摘要: 1、全局设置: 配置用户名: git config --global user.name "自己的github的用户名" 配置邮箱: git config --global user.email "自己的github的邮箱地址" 2、创建版本库 i、在一个合适的地方,创建一个空目录 ii、cd 进入 阅读全文
posted @ 2020-05-05 15:32 此木为柴 阅读(175) 评论(0) 推荐(0) 编辑