i have been linking the xpcomglue.lib for the previous versions of Mozilla and it worked fine based on tutorial of "creating c++ components". Now i only have the problem with firefox 1.5.My component basically replaces the the images which are loaded, i use "nsIImageloadingcontent to get gfximage and get the bytes and replace them". if using the previous gecko sdk libs to run the component with firefox 1.5, it does gets register and works but nsIImageLoadingContent doesn't and that is why i have to update the libs for my component to make it work for firefox 1.5. Now when i link xpcomglue_s.lib, it compiles okay but doesn't register my component.
--Waqas "Benjamin Smedberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > waqas wrote: >> i am having the same problem of "unResolved NS_NewGenericModule2()" Can >> somebody please tell me how to get this solved? > > What are you linking against? xpcomglue.lib does not provide > NS_NewGenericModule2, but it typically should not be used for XPCOM > components, only standalone embedders. XPCOM components should typically > use xpcomglue_s.lib and link against the XPCOM dll itself (xpcom.lib on > windows, libxpcom.so on unix). > > --BDS _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
