-
设备管理器。就像Window的设备管理器一样。源码来自网络,本人整理而已。...
设备管理器。就像Window的设备管理器一样。源码来自网络,本人整理而已。-Device Manager. Like Window
- 2022-01-27 13:26:22下载
- 积分:1
-
第归调用函数,可查找指定目录下的所有子目录。
第归调用函数,可查找指定目录下的所有子目录。-resolution to the call function can be found in designated directories all subdirectories.
- 2023-02-02 04:20:03下载
- 积分:1
-
Delphi编写的充电器上位机程序含代码
Delphi编写的充电器上位机程序含代码-Delphi prepared charger PC program containing the code
- 2023-06-15 11:15:17下载
- 积分:1
-
一个实现端口映射的例子,请大家试试看,但愿对要做端口映射的朋友有帮助!...
一个实现端口映射的例子,请大家试试看,但愿对要做端口映射的朋友有帮助!-An example of port mapping realize, please everyone give it a try, I hope to do port mapping has to help a friend!
- 2023-07-12 16:15:03下载
- 积分:1
-
一个很好的学习例子,有需要的请下载研究,
一个很好的学习例子,有需要的请下载研究,-A good learning example, there is a need to download the study,
- 2022-03-01 21:56:16下载
- 积分:1
-
local area network (LAN) to relay messages to the members.
局域网(LAN) 传送讯息的构件。-local area network (LAN) to relay messages to the members.
- 2022-07-02 01:35:17下载
- 积分:1
-
Module used to work with fiscal devices datecs and com library fp3530
Module used to work with fiscal devices datecs and com library fp3530
- 2022-03-11 06:33:13下载
- 积分:1
-
delphi scene 在坐标中 点 的例子,
delphi scene 在坐标中 点 的例子, -delphi scene in the mid-point coordinates example
- 2022-04-01 19:56:16下载
- 积分:1
-
tmidigen由艾伦Warriner使简单的创作意义。MIDI部分
TMidiGen is a MIDI component by Alan Warriner which allows the simple creation of sound effects and note sequences within an application without the need for external files or resources. TMidiGen achieves this by generating the MIDI data in memory.
- 2023-06-28 23:10:11下载
- 积分: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