如何使用 Firefox 中的 xpcom 从串行端口读取数据?
我想使用 xpcom 将 Mozilla Firefox 连接到串行端口。最终结果应该是一个可以安装在各种环境(跨平台 Windows/Linux 和 Firefox 3.*)上的 xpi 插件。我应该从哪里开始?
我在这里找到了一个例子: http://forums .mozillazine.org/viewtopic.php?f=19&t=1083965&start=0 ,但我认为该代码只能在 Linux 上运行...我可以在 Windows 中做类似的事情吗?
I want to use xpcom to connect Mozilla Firefox to a serial port. The final result should be an xpi addon that can be installed on various environments (cross-platform Windows/Linux with Firefox 3.*). Where should I start?
I have found an example here: http://forums.mozillazine.org/viewtopic.php?f=19&t=1083965&start=0 , but I think that code will only work on Linux... Can I do something similar in Windows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

XPCOM 不适用于串行端口通信。据我所知,它是 MS COM 的任何接口。
请稍微研究一下您的问题。
XPCOM is not for serial port communication. From what I can see, it is any interface to MS COM.
Please research your questions a little.