Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用教程作为参考创建一个 XPCOM 组件。但是,当我运行以下命令时,它成功完成但不生成任何.h文件:
.h
xpidl -m header -I [XUL_RUNNER SDK\IDL] myfile.idl
这是为什么?XPCOM过时了吗?
不,XPCOM 并没有过时,但本教程已经过时了。该文档建议使用pyxpidl:
header.py -I [XUL_RUNNER SDK\IDL] -o myfile.h myfile.idl