eileen zishuang wrote:

> Hi,
>
> I am trying to link an external dll into one XPCOM module, which I 
> wrote by
> myself according to the XPCOM sample. But the makefile.win under XPCOM
> directory is mysterious, anyone can give me a hint how to link that 
> dll into
> the makefile?
>
> Thank you very much.
>
>
>
this will only work on the mozilla 1.0 branch since we moved away from 
the nmake build system (instead of makefile.win on windows, both windows 
and unix use Makefile.in).

Try adding this:

LLIBS=\
   $(DIST)\lib\xpcom.lib \
   $(LIBPLC) \
   <path-to-lib>\mylib.lib \     <------
   $(NULL)


where the line indicated above points to the library you want linked 
into your sample component.

--
Doug Turner
[EMAIL PROTECTED]



Reply via email to