-
with delphi into the document management device that can be tested, procedures a...
用delphi编成的文件管理器,经测试可用,程序简单易懂-with delphi into the document management device that can be tested, procedures are simple! !
- 2022-11-22 22:15:03下载
- 积分:1
-
Simple Delphi opc client
Simple Delphi opc client
- 2023-08-05 18:40:03下载
- 积分: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
-
Indy控件使用示例程序,通过使用Indy控件,一个标准。
Indy控件使用示例程序,通过使用Indy控件,实现了远程过程调用。-Indy control procedures used example, through the use of the Indy control, a remote procedure call.
- 2022-03-01 21:35:46下载
- 积分:1
-
Source Format_for_Delplhi delphi 代码格式化工具
Source Format_for_Delplhi delphi 代码格式化工具-Source Format_for_Delplhi delphi code format tool
- 2022-10-30 02:55:02下载
- 积分:1
-
Bessel curve. Rar
delphi原码贝塞尔曲线.rar-Bessel curve. Rar
- 2022-01-21 02:34:51下载
- 积分:1
-
上课小作业,一个小小的日历
上课小作业,一个小小的日历-classes small operations, a small calendar
- 2022-02-14 05:53:08下载
- 积分:1
-
Delphi高手突破,论述如何在delphi中使用面向对象编程方法,构建设计良好的程序。...
Delphi高手突破,论述如何在delphi中使用面向对象编程方法,构建设计良好的程序。-Delphi expert breakthrough on how to use delphi object-oriented programming methods, to build well-designed procedures.
- 2022-01-30 12:37:48下载
- 积分:1
-
一个很好的查询控件,具有多种组合查询的功能,根据万能查询控件改进而来...
一个很好的查询控件,具有多种组合查询的功能,根据万能查询控件改进而来-A good query controls, multi-functional combination of queries, according to omnipotent control to improve the query from
- 2022-10-18 00:10:03下载
- 积分:1
-
1个捆绑器的源码,可以将2个EXE文件捆绑在一起!运行捆绑出来的文件等于运行了2个文件!...
1个捆绑器的源码,可以将2个EXE文件捆绑在一起!运行捆绑出来的文件等于运行了2个文件!-bundled with a source code, can be two EXE documents tied together! Running out of paper tied to the operation of two documents!
- 2022-09-04 10:40:08下载
- 积分:1