Search code examples
javascriptfirefoxbrowserxpcom

creatition of XPCOM components


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?


Solution

  • 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