Re: Creating XPCOM module in C++ and VC
Raveendra Pai <[email protected]> Fri, 31 Jan 2014 16:16:47 +0530
| Newsgroups | gmane.comp.mozilla.devel.plugins |
|---|---|
| Message-ID | <CACdEw73eS5kBn6tkM8HZOQ=-7MHtD4b_O2n7vPrdHqwRUK4rAQ@mail.gmail.com> |
for latest firefox browser , u can use js-c types instead of XPCOM. *https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes <https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes>* this may link help u to know more about it. *RAVEENDRA PAI*|| ಸರ್ವೇ ಜನಃ ಸುಖಿನೋ ಭವಂತು || On Fri, Jan 31, 2014 at 3:57 PM, Lukas Haase <[email protected]> wrote: > Hi all, > > Is anyone successful in building a simple Hello-World XPCOM module for > current Firefox? > > I can't get the current xulrunner-sdk working with VC and there is ZERO > doc with it (at least I don't find it). There are major syntax errors in > mozilla/TypeTraits.h which can only stem from an incompatibility or so. > > For this reason, I used the SDK for Gecko 1.9.2 (Firefox 3.6). I can > successfully create a DLL based on outdated information: > > https://developer.mozilla.org/en-US/docs/How_to_build_a_binary_XPCOM_component_using_Visual_Studio > > > I copy this DLL including its xpt file to the components directory of my > extension, add to chrome.manifest: > > interfaces components/IMyComponent.xpt > binary-component components/MyComponent.dll > > and to install.rdf: > > <em:unpack>true</em:unpack> > > But the module does not register (can't be found with XPCOMViewer). > > The information I find is so inconsistent that I do not even know where > to start debugging. > > Any idea? Any help? > > Thanks so much > Luke > > > > > _______________________________________________ > dev-tech-plugins mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-plugins > _______________________________________________ dev-tech-plugins mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-plugins