On 6/24/06, Dieter <[EMAIL PROTECTED]> wrote:

Hi!

What Documentations or Manuals for XPCom do you know, and which would
you suggest as best one?


I just started learning XPCOM. I finished my extension's front end. I am now
coding my XPCOM component. So my advice is not an expert's comment.

There is plenty of documentation available for people who are just starting
to learn XPCOM framework. Plenty is also a problem sometimes. You don't know
which document to refer, especially if the both says different things :)
But then there is tremondous amount of work  being done and there are so
many people to offer help.

If you are starting with XPCOM, you need to read the book: creating XPCOM
components

http://developer.mozilla.org/en/docs/Creating_XPCOM_Components

Once you finish that you need to setup your component. For that the
following link will you give you a quick overview:

http://www.iosart.com/firefox/xpcom/

Once you setup your component, ofcourse, you need to write your own
code(business logic of your application).

For that you can refer to XPCOM API reference:

http://developer.mozilla.org/en/docs/XPCOM_API_Reference
http://developer.mozilla.org/en/docs/Category:XPCOM_API_Reference
http://xulplanet.com/references/xpcomref/

Some useful links:

http://developer.mozilla.org/en/docs/Main_Page
http://kb.mozillazine.org/Knowledge_Base
http://books.mozdev.org/chapters/index.html

You might also need to learn how to use strings in XPCOM, smart pointer(
nsCOMPtr) etc.

http://developer.mozilla.org/en/docs/XPCOM:Strings
http://www.mozilla.org/projects/xpcom/nsCOMPtr.html

Do they have many examples for every command?


AFAIK, there are  very few simple examples of how to write the component or
how to use the existing XPCOM components from C++. I think one has to look
at the Firefox code as an example. But looking at Firefox code is not so
simple.  Please correct me if I am wrong.
<http://xulplanet.com/references/xpcomref/>

Would be cool, if I not always have to ask other people for every step I
try. :)


That's ok, you can save some of your time; remember we all are part of a
community :)

- Rajendra Prasad Murakonda
http://prodizy.livejournal.com/
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to