-
使用BHO的一个例子,用delphi编写的
使用BHO的一个例子,用delphi编写的-An example of the use of BHO, prepared by delphi
- 2022-12-24 15:00:04下载
- 积分:1
-
嘿嘿,大侠看到不要见笑呀...
大家都知道使用DLL的好处.于是我就想把FORM封装到DLL里面去.
到网上找,发现是MDI和模式窗体的,非模式的也有...
嘿嘿,大侠看到不要见笑呀...
大家都知道使用DLL的好处.于是我就想把FORM封装到DLL里面去.
到网上找,发现是MDI和模式窗体的,非模式的也有很多问题.便想自己解决这个问题.
原来是用DLL创建一个对象返回,但发现有很多的问题.
想了半天就去寻根问柳吧.
找到了类.
我就想把类封装进DLL,到时简单的返回一个类,然后在主程序里操作不就简单了?
找了半天发现了TFormClass,于是试了试从DLL导出来,像一般的程序一样创建窗体发现成功.
接着我又想看看其他的类是不是也能这样,就拿TFrame来实验.
function GetDllFrameClass():TFrame stdcall
第一次是这样声明的,失败.奇怪?!
试了好多次都不行,就想到了TFormClass(Ctrl+左键),进去看看,发现是这样声明的.
TFormClass = class of TForm
哎呀,恍然大悟!!
class(TFrame) 是声明一个类, 这个类继承了TFrame类 f: TFrame 是一个对象
class of TFrame 声明的是类类型, f:TFrameClass 是一个类.
function GetDllFrameClass():TFrame
返回就不是类而是对象了,照TFormClass修改后TFrameClass = class of TFrame
运行...成功,
- 2022-01-31 01:59:09下载
- 积分:1
-
示如何获得本机IP地址,如何生成透明窗口,如何从任务条上隐藏...
示如何获得本机IP地址,如何生成透明窗口,如何从任务条上隐藏-show how to obtain the machines IP address, how to create a transparent window, from the mission of how hidden
- 2022-01-25 22:11:46下载
- 积分:1
-
自动适应简繁体的TBitbtn按钮,并有类似XP风格的外观
自动适应简繁体的TBitbtn按钮,并有类似XP风格的外观-Automatically adapt to the simplified and traditional TBitbtn button, and a similar appearance of XP-style
- 2022-03-22 00:02:17下载
- 积分:1
-
人事档案管理,可运行的DELPHI源程序,对于初学者来说有很高的参考价值,...
人事档案管理,可运行的DELPHI源程序,对于初学者来说有很高的参考价值,-Personnel file management, source code can be run DELPHI, for beginners, has high reference value,
- 2022-07-13 07:59:07下载
- 积分:1
-
用delphi和SQLServer开发的人力资源管理信息系统,主要包括档案管理、招聘、人员培训、绩效管理、薪酬福利管理5个模块。...
用delphi和SQLServer开发的人力资源管理信息系统,主要包括档案管理、招聘、人员培训、绩效管理、薪酬福利管理5个模块。
-SQLServer using delphi and development of human resources management information system, including records management, recruitment, staff training, performance management, remuneration and benefits management module five.
- 2023-07-31 11:55:03下载
- 积分:1
-
获取CPU的ID号,适用于软件加密,比如生成一段随机码,然后判断CPU的ID号,如果CPU的ID号不相同就可以使用本软件。因为CPU的序列号是唯一的...
获取CPU的ID号,适用于软件加密,比如生成一段随机码,然后判断CPU的ID号,如果CPU的ID号不相同就可以使用本软件。因为CPU的序列号是唯一的-CPU access to the ID number, apply to software encryption, such as a section of randomly generated code, then determine the CPU s ID No., if the CPU is not the same as the ID number you can use this software. Because the serial number of CPU is the only
- 2022-07-15 09:21:23下载
- 积分:1
-
这是一个PC机串口通信控制软件
开发环境:基于window xp的delphi 7.0平台
开发语言:pascal语言...
这是一个PC机串口通信控制软件
开发环境:基于window xp的delphi 7.0平台
开发语言:pascal语言-This is a serial communication PC-control software development environment: window xp based on the delphi 7.0 platform development language: pascal language
- 2022-03-12 07:25:41下载
- 积分:1
-
kbmMemTable 5.52 free
kbmMemTable 5.52 fr-kbmMemTable 5.52 free
- 2022-02-02 07:59:09下载
- 积分:1
-
好的程序离不了友好的用户界面 用delphi轻松搞定
好的程序离不了友好的用户界面 用delphi轻松搞定-Procedures can not be good from the friendly user interface easy to get used delphi
- 2022-08-24 03:49:57下载
- 积分:1