-
xueshengsushe,学生宿舍系统,具有全面的功能。
xueshengsushe,学生宿舍系统,具有全面的功能。-xueshengsushe,xueshengsushexitong.juyouquanmiandegongneng.
- 2022-04-15 12:11:24下载
- 积分:1
-
This my another project in AdHoc network. By using Delphi to program the operati...
This my another project in AdHoc network. By using Delphi to program the operation of the OLSR algorithm.It include the source code in Delphi and the execute file to run.-This is my another project in AdHoc network. By using Delphi to program the operation of the OLSR algorithm.It include the source code in Delphi and the execute file to run.
- 2022-08-11 11:17:02下载
- 积分: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例子,第一次写,请多指教
本人写的delphi例子,第一次写,请多指教-I write delphi example, the first writing, please enlighten
- 2022-08-12 16:12:59下载
- 积分:1
-
演示,专家,动画,算法,源代码
PID演示,DELPHI源码
动画演示PID算法-PID demo, DELPHI Animation PID algorithm source code
- 2022-02-06 07:23:03下载
- 积分:1
-
包括城市的信息和该公司的信息,它的名单!
省份列表,包括了城市,省份等信息.你只需要直接调用就OK.-include City informations and provier informations,it s list!
- 2022-01-25 22:59:04下载
- 积分:1
-
测试 测试 测试 测试 测试
测试 测试 测试 测试 测试 -testtesttesttesttesttesttesttesttesttest
- 2022-03-23 04:40:06下载
- 积分:1
-
Delphi管理信息系统
delphi mis
- 2023-03-04 12:20:04下载
- 积分:1
-
delphiSMS接受发送,借鉴别人的代码
delphiSMS接受发送,借鉴别人的代码-delphiSMS accept this, learn from other people"s code
- 2022-07-20 22:47:59下载
- 积分:1
-
7 Delphi VCL
delphi 绘图软件控件,支持算法,直线、圆
矩形,等 delphhi 7 vcl-delphi 7 vcl
- 2022-01-25 15:35:44下载
- 积分:1