Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Generating xpt on Windows

This article needs a technical review. How you can help.

In order to generate an .xpt file from an .idl file in recent versions of the Gecko \ XUL Runner SDK in Windows, you need to use the typelib.py script. Assuming you installed your XULRunner SDK at <MOZSDKDIR>, you then need to issue a command similar to

C:\working-dir> <MOZSDKDIR>\sdk\bin\typelib.py <InputFile.idl> -o <OutputFile.xpt> -I <MOZSDKDIR>\idl

Document Tags and Contributors

 Contributors to this page: MKaply, fscholz, kscarfone, Sheppy, Kastor, dMaggot
 Last updated by: MKaply,