应用程序插件

发布于 2024-07-25 08:14:12 字数 109 浏览 4 评论 0原文

我正在使用 JEDI 插件技术为我的应用程序开发一些插件,但是我遇到了很多内存共享问题,特别是在处理数据库连接时。 主应用程序使用 FASTMM4 内存管理器。 有谁知道一种更简单的框架来使用插件吗?

I'm developing some plugins to my application using the JEDI Plugin tecnology, but I run into a lot of problems with memory sharing specially when it handles Database connection. The main application uses the FASTMM4 memory manager. Does any one knows a bit more easy framework to work with plugins?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甜扑 2024-08-01 08:14:12

JVCL 插件管理器工作得很好,但如果您想与插件正确共享内存,则需要将 SimpleShareMem.pas 添加到应用程序和插件的使用子句中,位于项目文件中使用列表的顶部。

The JVCL plugin manager works just fine, but if you want to share memory properly with your plugins, you need to add SimpleShareMem.pas to the uses clause of both your app and the plugins, at the top of the uses list in the project file.

谁的年少不轻狂 2024-08-01 08:14:12

你们的插件也使用 FASTMM4 吗? 您需要确保在应用程序和插件中使用相同的内存管理器。

Do your plugins also use FASTMM4? You need to make sure you are using the same memory manager in both the application and the plugin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文