问题
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