Judson Valeski wrote: > nsresult rv = NS_OK; > mChrome = do_QueryInterface(browserImpl, rv); > if (NS_FAILED(rv)) return rv; Apologies. The above QI will not compile. do_QueryInterface() (http://lxr.mozilla.org/mozilla/source/xpcom/base/nsCOMPtr.h#344) requires an nsISupports derrived pointer chain (base class nsISupports). You'll have to do a cast (NS_STATIC_CAST). That sticks the cast back in, but maintains the ownership model we want. Sorry for the confusion. Jud
- An MFC clone of the WinEmbed sample (20K attachment) Chak Nanga
- Re: An MFC clone of the WinEmbed sample (20K attachme... Judson Valeski
- Re: An MFC clone of the WinEmbed sample (20K attachme... Judson Valeski
- Re: An MFC clone of the WinEmbed sample (20K atta... Heikki Toivonen
