Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem linking third party library to xpcom component

1 view
Skip to first unread message

dominique

unread,
Nov 2, 2006, 8:51:09 AM11/2/06
to
Hi
i have written a couple of XPCOM components that are linked to external
libraries. Whether it is on linux or on windows, i can use them only on
the computer where it was compiled!

My external libraries are are compiled using GCC in linux and VC6
compiler on windows, i import them in a xul application, and every
thing works fine on my computer but when i copy them on another one,
where the exernal libs are installed correctly (other program using
them is working) then the component is not there (TypeError:
Component.class[...] has no properties)

any idea?
thanks

dominique

Mark Finkle

unread,
Nov 2, 2006, 10:35:56 PM11/2/06
to
This may sound like a dumb question, but are you sure you installed the VC
support DLL's (if any).

When you say "the external libs are installed correctly" do you mean the DLL
and XPT files for your XPCOM? You may also need the MSVCRT*.DLL as well.

Mark Finkle

> any idea?
> thanks
>
> dominique
>


dword2006

unread,
Nov 17, 2006, 5:39:20 AM11/17/06
to
Another dumb question: are you sure your component is correctly
installed? Sound's like the message you've got when the component is
not registered.

0 new messages