I think the thing you are missing is calling gWebView->setFrameLoadDelegate.
See WinLauncher for more details on that part.

Hope that helps at all. Are you trying to make this without a GUI? I've
personally had no luck with COM, althought I have had success with Cocoa/OS
X to some degree.

~/Jason Hullinger

On Mon, Oct 6, 2008 at 8:35 AM, John Penman (jopenman)
<[EMAIL PROTECTED]>wrote:

>  Hi All,
>
>   I am working on a project in VC 2005 in a managed environment.  I have
> tracked down my issue of not getting WebKit working to this one function
> call.  Has anyone had any experience getting it to work in a managed
> environment?
>
>
>
> pin_ptr<IWebView*> p = &gWebView;
>
> hr = CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView, &p);
>
>
>
> Ive also tried:
>
>
>
> void* pInterface;
>
> hr = CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView,
> &pInterface);
>
>
>
> gWebView = (IWebView*)pInterface;
>
>
>
> In both cases, the object gets created but does not get instantiated.  All
> members of the object are unknown.
>
>
>
> Thanks.
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to