Hi,

I think I finally have a xpcom question:
I'm developing a browser extension in c++. I have problems getting an
nsixmlhttprequest.
I tried

 do_CreateInstance(NS_XMLHTTPREQUEST_CONTRACTID,&rv );
 CallCreateInstance(kXMLHTTPCID, &request);
 get an nsixmlhttprequest using the service manager

they all fail with 80004002(NS_ERROR_NO_INTERFACE).

I've seen some sources on the web (e.g.
http://www.mit.edu/afs/sipb/project/mozilla/random-stuff/mozilla.bak/extensi
ons/xmlextras/tests/TestXMLExtras.cpp )
that do things the same way I do. 
Also, nsixmlhttprequest is listed in the firefox component viewer(cview).
Is nsixmlhttprequest available to extensions ?

Martin


_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to