右键点击工具栏,添加desktops工具栏,设置好你的IDE环境后可以保存成一个.dst文件dpk文件是package文件,编译后可以生成bpl包文件!
解决方案 »
- 请教如何解决flash透明背景时文字和图形的锯齿问题
- 【求】隐藏本进程的某个线程问题?
- 刚学delphi 关于dataset的问题大家来看一下
- AdoQuery如何方便的从一组数据及中选出要查询的纪录?
- 原来CSDN和我们在一个院子里面。老大别老是把灌水的帖子往灌水乐园转,不然人气全没了。
- 当当当~!谁帮我分析下如何用代码实现在WORD中插入图片,且不打开WORD文件,急,谢谢~!顶有分
- 求quick report的一些技巧,问题解决就给分
- 我有个问题要请教各位!多谢指教!
- access数据库如何能计算出大约数据库所占容量
- 四舍五入的函数是什么?
- 在线等请叫一个数据库问题(一个初学者),就是我的数据库能运行,可添加成员时出来错误,请看错误,proiect在正文
- 请问大家上新闻组都用的什么软件? :)
Ordinarily, packages are loaded statically when an applications starts. But you can use the LoadPackage and UnloadPackage routines (in the SysUtils unit) to load packages dynamically.Note: When an application utilizes packages, the name of each packaged unit still must appear in the uses clause of any source file that references it.Each package is declared in a separate source file, which should be saved with the .DPK (Delphi package) extension to avoid confusion with other files containing Object Pascal code. A package source file does not contain type, data, procedure, or function declarations. Instead, it containsA name for the package.
A list of other packages required by the new package. These are packages to which the new package is linked.
A list of unit files contained by, or bound into, the package when it is compiled. The package is essentially a wrapper for these source-code units, which provide the functionality of the compiled BPL.A package declaration has the formpackage packageName; requiresClause;
containsClause;
end.where packageName is any valid identifier. The requiresClause and containsClause are both optional. For example, the following code declares the VCLDB50 package.package VCLDB50; requires VCL50;
contains Db, Dbcgrids, Dbctrls, Dbgrids, ... ;
end.The requires clause lists other, external packages used by the package being declared. It consists of the directive requires, followed by a comma-delimited list of package names, followed by a semicolon. If a package does not reference other packages, it does not need a requires clause.
The contains clause identifies the unit files to be compiled and bound into the package. It consists of the directive contains, followed by a comma-delimited list of unit names, followed by a semicolon. Any unit name may be followed by the reserved word in and the name of a source file, with or without a directory path, in single quotation s; directory paths can be absolute or relative. For example,contains MyUnit in 'C:\MyProject\MyUnit.pas';Note: Thread-local variables (declared with threadvar) in a packaged unit cannot be accessed from clients that use the package.