Peter Djalaliev wrote:
nsCOMPtr<nsISupports> ctx;

Such comptrs always point to null until you put something into them.

nsCOMPtr<nsIInterfaceRequestor> ir(do_QueryInterface(ctx));

Using do_QueryInterface with a NULL pointer will give you a null pointer again. So, you must get an actual implementation of this interface from somewhere (like described in other postings in this thread).
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to