Discussion:
Creating XPCOM module in C++ and VC
s avani
2014-06-02 18:18:48 UTC
Permalink
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
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
interfaces components/IMyComponent.xpt
binary-component components/MyComponent.dll
<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
i ran into similar issue.. i developed dll but my component is not recognized.
i developed .so file and i dont see that component in xpcom viewer
Loading...