Hello,

    I just started woking with XPCOM and am having a few problems. I can
get simple components working but I am having trouble building more
complex components that need to be linked with external libraries.

    I need to link my component with the xmms library. I'm using the
Makefile from the sample hello application with all of the parameters
modified for my use. I've got it working now so that my test app can
load the component and it works fine. But when I try and do the same
thing by loading the component in Mozilla using XPConnect I get an error
as soon as I try and call one of the methods located in the xmms
library. It seems like it's linking the library fine for the executable
test app but not for the shared object that gets put in
mozilla/dist/bin/components/

    Can anybody give me an example of how to do this properly?

Thanks,

Steve Crouse



Reply via email to