Ian macLean wrote:

> My apologies if this is an obvious question but I'm trying to use nsCOMPtr
> in my c++ xpcom client. It compiles fine but for the life of me I can't find
> which lib to link to for it. I'm linking against xpcom.lib and
> xpcombase_s.lib.  What am i missing here ?
> 
> I'm using vc6.0 on win2K
> my error is:
> 
> unresolved external symbol "public: __thiscall
> nsCOMPtr_base::~nsCOMPtr_base(void)" (??1nsCOMPtr_base@@QAE@XZ)

Are you mixing DEBUG and non-DEBUG libs, such as an optimized xpcom.lib 
and a debugging yourclient.o?

Mike


Reply via email to