随笔分类 -  插件框架

插件框架的完整实现
摘要:对于DELPHI来说,总共支持俩种类型的插件:DLL和BPL方式的插件。对于比较完美的插件框架来说,俩种类型的插件都要支持。unit DLLLoader;interfaceuses windows, Classes, SysUtils, Forms, StrUtils;type TLibraryType = (dll, bpl); // plugin type: dll or bpl TDLLLoader = class(TObject) private FHandle: THandle; FFileName: string; FLibraryType: TLibraryType; proce 阅读全文
posted @ 2012-02-19 17:12 delphi中间件 阅读(1064) 评论(0) 推荐(0) 编辑
摘要:支持DLL和BPL俩种格式的插件。没有使用三方控件。 阅读全文
posted @ 2012-01-15 18:09 delphi中间件 阅读(2490) 评论(2) 推荐(2) 编辑

点击右上角即可分享
微信分享提示