This document is the sum total of everything written down about
nsCOMPtr. If you have a question about
nsCOMPtr, and this document doesn't answer it, there probably isn't a document that answers it. You'll have to turn to the XPCOM newsgroup or another experienced
nsCOMPtr user, or find the answer by experimentation.
If you've never used
nsCOMPtr before, you're starting in the right place. Just keep reading. You'll know when to stop. After you've been using
nsCOMPtrs for a while, and you reach unfamiliar territory, or run into compiler errors; you may want to return to this document to get help from the Reference Manual or the FAQ.
nsCOMPtr<T> as a