creatition of XPCOM components

血红的双手。 提交于 2020-01-06 19:35:29

问题


I'm creating an XPCOM component using a tutorial as a reference. However, when I run the following command it completes successfully but doesn't produce any .h file:

xpidl -m header -I [XUL_RUNNER SDK\IDL] myfile.idl

Why is that? Is XPCOM outdated?


回答1:


No, XPCOM is not outdated but this tutorial is. The documentation recommends using pyxpidl:

header.py -I [XUL_RUNNER SDK\IDL] -o myfile.h myfile.idl


来源:https://stackoverflow.com/questions/11857907/creatition-of-xpcom-components

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!