Hi everyone.

I have a problem. I want to use mozilla's msgbase component in my
application. So I have some questions, please help me to get answers
for them.

How can I build components that I need and all the stuff I need to use
them. (Gecko sdk doesn't contains mail components :(((

How can I compile/link my program? Which libraries I need?

How does I have to start my application to have it working?

I have tried some things: I build thunderbird, then I build test
program nsTestSample.cpp from xpcom/samples/program/, then I copy it to
the directory, where my thunderbird build is located -
thunderbird/dist/bin, then I strat this test - ./run-mozilla.sh
./nsTestSample, and I have an error message: "Cannot create instance of
component @mozilla/sample;1 [80040154]"

I made a little changes in source of nsTestSample.cpp so it try to use
other components, but I still have the same error, that differ only in
componet name.

Please help me to solve my problem.

Thanks in advance.

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

Reply via email to