I'm working on an embedding application becasd on mozilla 1.7 using xpcom glue library. But when I tried to use the HTTP POST functionality of LoadURI, I got some trouble:

nsIWebNavigation::LoadURI takes 5 arguments, the last two are nsIInputStream. But if I use NS_NewByteArrayInputStream to create a new nsIInputStream, a link error will occur "error LNK2001: unresolved external symbol "unsigned int __cdecl NS_NewByteArrayInputStream(class nsIByteArrayInputStream * *,char*,unsigned long)"

NS_NewByteArrayInputStream is in xpcom.dll but may be not in xpcomglue.lib.

Did I do something wrong or anyone know how to work around it?

Thanks
Kyle
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to