Le Thu, 09 Feb 2006 09:50:57 -0500, Benjamin Smedberg a écrit :

> Fabrice Desré wrote:
>>  Hello,
>> 
>>  I'm writing an xpcom component for a XULRunner application. In this
>> component, I'm #including "nsStringAPI.h" to use NS_ConvertUTF8toUTF16()
>>  and i'm linking my component with -lxpcomglue -lnspr4 -lplds4 -lxpcom
>> -lxpcom_core.
> 
> xpcom_core doesn't exist in XULRunner, it's merged in with libxul.
> 
> It also doesn't make sense to link against xpcomglue and xpcom at the same
> time: xpcomglue is the *standalone* glue... you almost certainly want
> xpcomglue_s. See http://developer.mozilla.org/en/docs/XPCOM_Glue for a
> description of the linking strategies available.

 So I choosed " Using Frozen linkage (dependent on xpcom.dll)", linking
 with libxpcomglue_s.a -lnspr4 -lplds4. I got the same runtime error...

  Fabrice
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to