[webkit-dev] Managed C++ & Webkit
Jason Hullinger
sshjason at gmail.com
Mon Oct 6 09:13:11 PDT 2008
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)
<jopenman at cisco.com>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
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081006/3c2a5e81/attachment.html
More information about the webkit-dev
mailing list