Hello,

Does the netlib module have an implementation of nsIInterfaceRequestor?
 Is there some way to invoke the functionality of this interface from
within the netlib code - more specifically, within nsHttpChannel?

I am trying to prompt the user about information based on the status
code of the HTTP response.

I tried doing:

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

but the resuling ir pointer is NULL.

How can I implement this user prompt best?

Thanks,
Peter

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to