-
support libraries/control module/support category eLIB support for the source co...
支持库类 / 模块控件 / 支持库类
eLIB++支持库 源代码 Delphi-support libraries/control module/support category eLIB support for the source code for Delphi
- 2023-03-30 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
-
genetic simulated annealing definitive source given population size, population,...
遗传模拟退火算法通用源程序
给定群体规模,群体,种群,初始温度-genetic simulated annealing definitive source given population size, population, population, the initial temperature
- 2022-07-15 02:33:16下载
- 积分:1
-
delphi源码,超市管理,分前台和后台管理,勿商用
delphi源码,超市管理,分前台和后台管理,勿商用-delphi source, supermarket management, sub-front and back-office management, not business
- 2022-03-26 00:43:01下载
- 积分:1
-
简单实现了OPC功能的代码实例大家参考一下吧,我感觉不错噢...
简单实现了OPC功能的代码实例大家参考一下吧,我感觉不错噢-Realize a simple function of the OPC code examples refer to everyone, and I feel good Oh
- 2022-07-01 06:37:51下载
- 积分:1
-
在Delphi中调用LabVIEW的DAQMx进行数据采集操作的接口程序。
在Delphi中调用LabVIEW的DAQMx进行数据采集操作的接口程序。-In Delphi, the DAQMx call LabVIEW data acquisition operations of the interface program.
- 2022-01-30 23:20:14下载
- 积分:1
-
以Delphi为平台,开发的一个两个随机数进行加减法并且可以验证结果的程序....
以Delphi为平台,开发的一个两个随机数进行加减法并且可以验证结果的程序.-To Delphi as a platform to develop a two-random number addition and subtraction and can be carried out to verify the results of the procedure.
- 2023-01-22 07:50:03下载
- 积分:1
-
delphisuipack4.30 Delphi7以下的安装说明!答:..
关于delphi7下面的delphisuipack4.30的安安装与说明!挺好的一个控件,上传了,与大家分享-Delphisuipack4.30 on delphi7 the following description of an installation and! A very good control, uploaded to share with you
- 2022-05-16 09:57:44下载
- 积分:1
-
Produced a very good drop
很好的下拉列表制作 自由选择下拉的内容 结合了复选框功能-Produced a very good drop-down list in order to freely choose the content of the drop-down
- 2023-07-24 16:20:03下载
- 积分:1
-
手机串口通信的类子,不过要我刚才上传的CPort类才行,这个是Delphi开发的,请自下载之后对照类子看看,学不少东西...
手机串口通信的类子,不过要我刚才上传的CPort类才行,这个是Delphi开发的,请自下载之后对照类子看看,学不少东西-Phone sub-type of serial communication, but I have just uploaded do CPort category, this is the Delphi development, please download the following self-control sub-category to see, learning a lot of things! ! !
- 2022-05-18 04:18:23下载
- 积分:1