Christian Biesinger wrote:
On Tue, Nov 23, 2004 at 11:06:42AM +0100, Petar Popara wrote:
How can I link XPCOM glue library? Will there be any problems for me if I do so? For example, issues with different versions of Mozilla browser (1.4, 1.5, 1.6...).
The entire point of the glue library is that it will give you compatibility with all later versions of Mozilla. For example, linking with 1.4's glue library, it will work with 1.5, 1.6, 1.7, 1.8 etc. Linking with 1.7's library will likely not work with 1.4, though.
See also http://www.mozilla.org/projects/xpcom/glue/Component_Reuse.html
This rule is not limited to the XPCOM glue library. In fact, the 1.7 XPCOM DLL exports a few extra functions that are not available in the 1.4 XPCOM DLL. So, if you build your component against Mozilla 1.7's Gecko SDK, then it may not work at all in Mozilla 1.4. But, if you build your component against Mozilla 1.4's Gecko SDK, then you're component will work with all future versions of Mozilla, provided you link it correctly and only use frozen interfaces and functions (i.e., stuff found in the Gecko SDK).
A bit more info can be found here: http://wiki.mozilla.org/index.php/Gecko:SDK
-Darin _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
