Generating xpt on Windows

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 script. Assuming you installed your XULRunner SDK at <MOZSDKDIR>, you then need to issue a command similar to

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

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, jswisher, MKaply, fscholz, kscarfone, Sheppy, Kastor, dMaggot
Last updated by: mdnwebdocs-bot,