> Yeah, it is unfortunate that the Gecko embedding samples do not > correspond with the Gecko SDK!! :-(
Do you think this will be fixed in the future? Should I file a bug report? > You can get around this problem by using NS_GetComponentManager and > nsIComponentManager instead. Thanks for the quick and thorough answer. > With this function, you can write: > > nsCOMPtr<nsIFoo> foo; > rv = CreateInstance(NS_FOO_CONTRACTID, NS_GET_IID(nsIFoo), > getter_AddRefs(foo)); > if (NS_FAILED(rv)) > return rv; Now, NS_WEBBROWSER_CONTRACTID is not defined in the headers as well...do I have to extract it somehow from the .idl files? What is the difference between an IID and a contract ID? TIA, Nico _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
