适用于 Windows 的 D-Bus 等效项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/482681/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:53:26  来源:igfitidea点击:

D-Bus equivalent for Windows

windowswinapiipcdbus

提问by sharkin

Anyone know of a Linux/D-Bus sort of mechanism for Windows?

有人知道适用于 Windows 的 Linux/D-Bus 机制吗?

Thanks

谢谢

回答by artificialidiot

Choose your poison:

选择你的毒药:

http://msdn.microsoft.com/en-us/library/aa365574%28VS.85%29.aspx

http://msdn.microsoft.com/en-us/library/aa365574%28VS.85%29.aspx

The following IPC mechanisms are supported by Windows:

  • Clipboard
  • COM
  • Data Copy
  • DDE
  • File Mapping
  • Mailslots
  • Pipes
  • RPC
  • Windows Sockets

Windows 支持以下 IPC 机制:

  • 剪贴板
  • 通讯
  • 数据复制
  • 数据中心
  • 文件映射
  • 邮槽
  • 管道
  • RPC
  • Windows 套接字

The closest to DBus is COM.

最接近 DBus 的是 COM。

回答by Ioan

The reference D-Bus implementationnatively supports Windows. Previously, the WinDBus projectcould be used. There is no need for equivalents if you want to use D-Bus.

参考d总线实现原生支持Windows。以前,可以使用WinDBus 项目。如果您想使用 D-Bus,则不需要等效项。

回答by user3587151

windbus is now part of the official DBus releases, see: https://www.freedesktop.org/wiki/Software/dbus/#windowsport

windbus 现在是官方 DBus 版本的一部分,请参阅:https://www.freedesktop.org/wiki/Software/dbus/#windowsport