-
delphi下的号码翻译控件,值得一看。
delphi下的号码翻译控件,值得一看。-Number translation control, Bear watching!
- 2023-04-07 10: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
-
a relatively good image processor.
一个比较好的图象处理器。-a relatively good image processor.
- 2023-01-15 08:25:04下载
- 积分:1
-
一个使用文件流在文件尾部增加代码从而达到加密的例子.
一个使用文件流在文件尾部增加代码从而达到加密的例子.-Use a file stream to increase the tail of the code in the file so as to achieve encryption example.
- 2022-04-06 19:14:42下载
- 积分:1
-
delphi原代码,实现图象的特级处理功能,通过修改有关代码实现多种特级效果...
delphi原代码,实现图象的特级处理功能,通过修改有关代码实现多种特级效果-delphi source code, to achieve special image processing functions, by modifying the relevant code to achieve a variety of special effects
- 2022-12-27 14:05:03下载
- 积分:1
-
delphi6.0使用的spcom控件,主要用于串口通讯使用
delphi6.0使用的spcom控件,主要用于串口通讯使用-delphi6.0 spcom use controls, mainly for the use of serial communications
- 2022-12-12 12:45:03下载
- 积分:1
-
Proficient OCX project framework. Txt, detailed introduction delphi working envi...
精通OCX工程构架.txt,详细介绍delphi工作环境下,制作ocx控件的方法。-Proficient OCX project framework. Txt, detailed introduction delphi working environment, production ocx control method.
- 2022-02-03 03:54:08下载
- 积分:1
-
GPRS 网络 服务器测试程序,有源代码 delphi9编写 下载下来就能用,不信你...
GPRS 网络 服务器测试程序,有源代码 delphi9编写 下载下来就能用,不信你-GPRS network server test program, source code can be downloaded with the preparation of delphi9 do not believe you have to try
- 2022-07-27 09:14:23下载
- 积分:1
-
用delphi语言编写实现传教士食人魔过河问题,结构比较复杂,有改进的空间...
用delphi语言编写实现传教士食人魔过河问题,结构比较复杂,有改进的空间-By delphi language Ogre realize missionaries across the river problem, more complex structure, has room for improvement
- 2023-01-17 13:00:04下载
- 积分:1
-
delphi memory modify controls, can be used to create game modifications browser.
delphi内存修改控件,可
用于制作游戏修改器。-delphi memory modify controls, can be used to create game modifications browser.
- 2022-11-22 11:50:03下载
- 积分:1