[webkit-dev] Managed C++ & Webkit
John Penman (jopenman)
jopenman at cisco.com
Mon Oct 6 08:35:39 PDT 2008
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081006/357b3267/attachment.html
More information about the webkit-dev
mailing list