-
Gobang source, very classic game, it can be considered a friend DELPHI beginner...
五子棋源码,非常经典的游戏,也算是初学DELPHI的朋友必须了解的东西,可以加强逻辑思维,提高编程的严密性-Gobang source, very classic game, it can be considered a friend DELPHI beginner needs to know things, can enhance critical thinking, improve the tightness of Programming
- 2023-05-17 09:50:04下载
- 积分:1
-
music player with source code
music player with source code
- 2022-03-21 02:39:56下载
- 积分:1
-
delphiSMS接受发送,借鉴别人的代码
delphiSMS接受发送,借鉴别人的代码-delphiSMS accept this, learn from other people"s code
- 2022-07-20 22:47:59下载
- 积分:1
-
用delphi语言实现运筹学生产与存贮问题程序
用delphi语言实现运筹学生产与存贮问题程序-with language production and storage operations research problems procedures
- 2023-04-02 01:25:03下载
- 积分:1
-
Asta 3.0 Full Sources
Asta 3.0 Full Sources
- 2023-03-29 00:20: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
-
formmagnet224 Delphi和C++ Builder 6
FormMagnet224 for Delphi and C++ Builder 6-2006 Compiled Packages
- 2022-01-25 15:11:45下载
- 积分:1
-
一个简单的delphi实现查询功能的数据表源程序,功能简单
一个简单的delphi实现查询功能的数据表源程序,功能简单-Delphi realize a simple query source data tables, functions simple
- 2022-02-02 01:38:23下载
- 积分:1
-
kbmmw是另外一个用于Internet分布式数据库开发的控件,可以用于Delphi和C++Builder...
kbmmw是另外一个用于Internet分布式数据库开发的控件,可以用于Delphi和C++Builder-kbmmw is another one for Internet development of the Distributed Database controls can be used to Delphi and C Builder
- 2023-03-08 14:10:03下载
- 积分:1
-
Chess source code, very interesting, interested can Kanxia
国际象棋源码,相当有意思,感兴趣的可以看下-Chess source code, very interesting, interested can Kanxia
- 2022-03-21 03:40:39下载
- 积分:1