-
This is a word statistics for the number of procedures
这是一个统计字的个数的程序-This is a word statistics for the number of procedures
- 2022-03-22 20:53:56下载
- 积分:1
-
OmniXML源码,比原作增加了一些函数
OmniXML源码,比原作增加了一些函数-OmniXML source, the beginning of some additional function
- 2022-12-03 13:35:03下载
- 积分:1
-
一个用delphi实现json应用的开发包。最新版本。包含源码。
一个用delphi实现json应用的开发包。最新版本。包含源码。-A package which use delphi to implement Json application.Include full source.
- 2022-04-27 21:15:52下载
- 积分:1
-
这是一个Delphi很好很全面知识的实例,但需要用户有一定的基础。...
这是一个Delphi很好很全面知识的实例,但需要用户有一定的基础。-Delphi This is a good example of comprehensive knowledge, but require users to have a certain foundation.
- 2022-06-14 22:20:05下载
- 积分:1
-
办公管理系统完成
DELPHI办公全套管理系统-DELPHI office management system complete
- 2022-06-02 03:19:35下载
- 积分:1
-
捕获ip数据包的小程序
捕获ip数据包的小程序-ip packet capture the small program
- 2022-05-05 21:38:05下载
- 积分:1
-
LCD/LED digital display control, display 0 ~ 9, a ~ z some characters
LCD/LED数码显示控件,可显示0~9,a~z的部分字符-LCD/LED digital display control, display 0 ~ 9, a ~ z some characters
- 2022-03-21 01:02:31下载
- 积分: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
-
一个药店管理系统源码,用delphi编写
一个药店管理系统源码,用delphi编写-a pharmacy management system source code, prepared with delphi
- 2022-02-21 23:33:24下载
- 积分:1
-
Source with very useful software, not accounting for memory ~~~~~~~~~~~~~~~~~~~~...
非常好用的源码排列软件,不占内存-Source with very useful software, not accounting for memory ~~~~~~~~~~~~~~~~~~~~~~~~~
- 2022-02-20 08:15:57下载
- 积分:1