如何在Windows/Delphi中编程插件? [英] How to program a plugin in Windows/Delphi?

查看:78
本文介绍了如何在Windows/Delphi中编程插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个更新应用程序的插件.

I need to create a plug-in that updates an application.

看,我有一个主机应用程序,但是可能我将使用更多功能对其进行更新.我正在Windows中使用Delphi7.

Look, I have a host application, but probably I will update it with more functions. I am working in Windows with Delphi 7.

基本上,我的插件"应向主机应用程序添加2或3个新功能.

Basically, "my plugin" should add 2 or 3 new functions to the host application.

我如何编程一个插件,该插件无需重新编译就可以在宿主应用程序中插入新代码(新功能)?

How can I program a plug-in that inserts new code (new functions) in the host application without re-compiling it??

注意:对我的英语感到抱歉.我的自然语言是西班牙语.

Note: I am sorry about my English. My natural language is Spanish.

谢谢.

推荐答案

在这里您可以找到文章,说明如何制作带有插件的应用程序. 您必须使用动态软件包和RTTI.

Here you can find an article that explain how to make an application with plugins. You must use dynamic packages and RTTI.

它包括第一个原型的代码.

It include the code of a first prototype.

也为我的英语不好而感到抱歉. P.D:这篇文章是西班牙文.

Regards and excuse for my bad english too. P.D: The article is in spanish.

这篇关于如何在Windows/Delphi中编程插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆