Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Development Group »» Mozilla
  • using XPCOM module in a standalone application

    0 answers - 1174 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

    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
    dev-tech-xpcom (AT) lists (DOT) mozilla.org

Re: using XPCOM module in a standalone application


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
SPONSORED
QUESTION

SPONSORED
EMSDN