-
开发环境:== EasyPHP 1.7
== Microsoft window 2000
== IE 6.0
== apache 1.3.27...
开发环境:== EasyPHP 1.7
== Microsoft window 2000
== IE 6.0
== apache 1.3.27
== php 4.3.3
-Development environment: == EasyPHP 1.7 == Microsoft window 2000 == IE 6.0 == apache 1.3.27 == php 4.3.3
- 2022-08-08 10:03:14下载
- 积分: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 中 UDP协议的实列
一个有关Delphi 中 UDP协议的实列-Delphi in a UDP protocol is listed
- 2023-05-02 10:55:04下载
- 积分:1
-
港台五张 港台五张
港台五张 港台五张 -RTHK Hong Kong and Taiwan 5 5 5 Hong Kong and Taiwan
- 2023-06-05 06:05:03下载
- 积分:1
-
实现分班功能,便于学期开始时,教务处人员的使用,有一定的使用价值...
实现分班功能,便于学期开始时,教务处人员的使用,有一定的使用价值-achieve streaming function to facilitate semester began, the use of the Registry, which is useful
- 2022-01-26 01:52:23下载
- 积分:1
-
利用winhttp post 上传文件,需要使用WinHttp组件
利用winhttp post 上传文件,需要使用WinHttp组件-Use Winhttp Post upload files. Used 3rd component : WinHttp.
- 2022-02-05 21:54:55下载
- 积分:1
-
繁简转换控件属性:Mode:(GBtoBig,BigtoGb)GbtoBig:进行简繁转换;BigtoGb:进行繁简转换;方法:SetString(ss:str...
繁简转换控件属性:Mode:(GBtoBig,BigtoGb)GbtoBig:进行简繁转换;BigtoGb:进行繁简转换;方法:SetString(ss:string)返回字符串ss的转换结果(返回繁,简体视mode设定而确定).-simplified change control attributes : Mode : (GBtoBig, BigtoGb) GbtoBig : for signpost; BigtoGb : for simplified conversion; Methods : SetString (ss : string) returns a string ss conversion results (to return to traditional and simplified characters, as defined set mode).
- 2023-07-22 20:55:03下载
- 积分:1
-
源代码非常少,非常简单的一个程序,源代码非常少,非常简单的一个程序...
源代码非常少,非常简单的一个程序,源代码非常少,非常简单的一个程序-source code is extremely small, a very simple procedure, the source code is very small, a very simple procedure
- 2023-06-22 20:15:04下载
- 积分:1
-
学生成绩管理系统,delphi+database desktop数据库。功能强大,<br> 包括成绩录入,复杂查询,统计等功能。使用方便,欢迎下载。...
学生成绩管理系统,delphi+database desktop数据库。功能强大, 包括成绩录入,复杂查询,统计等功能。使用方便,欢迎下载。 没带dbe引擎,所以要装delphi才能运行。原想打包成exe的,但没成功。-student performance management system, delphi+ database desktop database. Powerful, lt; Brgt; Results include logging, complex queries, and statistics functions. Ease of use, welcome to download. Lt; Brgt; No engine with DBE, to be installed delphi operation. The original package into exe to, but did not succeed.
- 2022-04-07 04:42:51下载
- 积分:1
-
完全 代码 businessform,可以免费的使用
完全 代码 businessform,可以免费的使用-Complete code businessform, can be used free of charge
- 2023-06-10 20:50:04下载
- 积分:1