-
串口通讯控件,有源码,开发的…
delphi 串行口通讯控件,带源码,开发串口程序,必须到工具。-delphi serial port communications control, with source code, the development of serial procedures, the instrument must be.
- 2022-02-11 16:28:35下载
- 积分: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 source code documantor
Delphi source code documantor
- 2022-04-16 00:10:34下载
- 积分:1
-
most directly in the code and Delphi6 Delphi7 operating environment. Some involv...
多数代码可以直接在Delphi6和Delphi7环境下运行。部分涉及.NET技术内容的代码,需要在Delphi 7上安装Borland .NET Complier for Delphi编译器方可编译执行。Borland已经正式推出Delphi 8 for .NET,所以本书范例中部分内容可能与D8最终版本不符。-most directly in the code and Delphi6 Delphi7 operating environment. Some involved.NET technology content of the code, the need to install Delphi 7 Borland.NET Complier for Delphi compiler can compile implementation. Borland has officially launched for Delphi 8.NET, the book example might be part of the final version D8 inconsistent.
- 2022-03-11 21:38:41下载
- 积分:1
-
一个非常好用的delphi窗口优化代码,,可以直接用做插件
一个非常好用的delphi窗口优化代码,,可以直接用做插件-a very handy window of delphi optimization code, can be directly used as a plug-in
- 2022-04-13 13:18:53下载
- 积分:1
-
Delphi 的数学控件,可进行矩阵,矢量,统计,回归分析等数学计算,功能强大。...
Delphi 的数学控件,可进行矩阵,矢量,统计,回归分析等数学计算,功能强大。-Delphi mathematical control, can be matrices, vectors, statistics, regression analysis and other mathematical calculations and powerful.
- 2022-01-22 12:54:40下载
- 积分:1
-
DELPHI代码大全中文版
DELPHI代码大全中文版-Encyclopedia of the Chinese version of DELPHI code ...........................
- 2023-04-08 15:35:04下载
- 积分:1
-
DLL的动态调用
DLL的动态调用-DLL s dynamic calling
- 2022-11-06 02:40:04下载
- 积分:1
-
自动压缩备份套件,帮助你自动生成备份文件.
目的:方便地按需要备份文件.希望可以帮助你提高工作效率...
自动压缩备份套件,帮助你自动生成备份文件.
目的:方便地按需要备份文件.希望可以帮助你提高工作效率-Automatically compressed backup packages, help you to backup files automatically. Objective: To easy to backup files on a need basis. I hope I can help you improve the efficiency of
- 2022-03-01 14:21:48下载
- 积分:1
-
MES,APS日历控件实现了计划滚动,计划调整
等功能
MES,APS日历控件实现了计划滚动,计划调整
等功能-MES, APS calendar control to achieve the planned rolling plan to adjust the functions of
- 2022-02-03 23:51:07下载
- 积分:1