Boost IPC 等效项(qt?)
我正在开发一个应用程序,该应用程序当前有一个特定软件套件的插件,然后是一个使用 boost ipc 与该插件进行通信的单独应用程序。
我们插入的应用程序的最新版本刚刚发布,其中包含一个非常旧的 boost 版本(我认为是 1.35)作为其 SDK 的一部分。之前负责实际集成 ipc 的开发人员(后来已经换工作)告诉我们,我们确实需要使用 boost 1.46 才能实现这一点。
如果我们有任何方法可以继续使用 boost 1.46 并解决旧 boost 的问题,那就太好了,但我的理解是这是不可能的。
那么,还有哪些其他等效包可以轻松实现跨应用程序通信?我们之前只使用了 qt 的信号和槽,但后来放弃了它,转而使用 ipc(当然没有人能特别记得为什么这样做......)
任何帮助将不胜感激。
谢谢, 利隆
I am working on an application which currently has a plugin to a particular software suite and then a separate application which communicates with the plugin using boost ipc.
The latest version of the application we are plugging into was just released with a very old version of boost (1.35 I think) as part of their SDK. The previous developer who worked on actually integrating ipc (and has since moved jobs) has told us that we really do need to be at boost 1.46 for this to work.
If there is any way for us to keep on using boost 1.46 and working around their inclusion of the old boost, that would be great, but my understanding is that that is not possible.
As such, what other equivalent packages are there that can easily enable cross-application communication? We previously just used qt's signals and slots, but moved away from that in favor of ipc (no one can particularly remember why that was done of course...)
Any help would be greatly appreciated.
Thanks,
Liron
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 XML 和 TCP/IP?它是面向未来的并且独立于操作系统和实现。
检查QTcpServer,QTcpSocket, QXmlStreamReader 和 QXmlStreamWriter!
对于经典 IPC:查看 Qt 文档。
Using XML and TCP/IP? It is future proof and independent from the OS and the implementation.
Check QTcpServer, QTcpSocket, QXmlStreamReader and QXmlStreamWriter!
For classical IPC: check Qt documentation.
根据您具体实现的内容,您可能需要查看 Qt 的 Qxt 库 ,特别是他们的 IPC 类。
Depending on what exactly you are implementing, you may want to look at the Qxt library for Qt, particularly their IPC classes.