Hi Brent,

Thank you for your interesting post, I was desperate to not find Windows app 
using Webkit on Internet.

I'm trying your sample MFC app, but I have some trouble :

HRESULT hr = CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView, 
(void**)&m_WebView);

Returns an error :( What should I do ? Should I register somehow Webkit on my 
system ? I just added the dlls into windows path.

Thanks

Tony LOUAZE
Software Engineer
T +33 1 44 45 64 91


-----Message d'origine-----
De : [email protected] 
[mailto:[email protected]] De la part de Brent Fulgham
Envoyé : mardi 14 avril 2009 18:49
À : Martin Račko
Cc : [email protected]
Objet : Re: [webkit-dev] embedding WebKit in MFC application

Hi Martin,

On Tue, Apr 14, 2009 at 8:35 AM, Martin Račko <[email protected]> wrote:
> I would like to create an MFC (Win32 API alternatively) application with
> WebKit embedded.

I'm afraid you are not going to be able to do so using the stock
WebKit project.  Apple does not provide a license option for their
CoreGraphics, CoreFoundation, and CFNetwork libraries, which are
needed to build and run WebKit on Windows.

Because of this, I worked to revive the original Apple Cairo version
of WebKit.  These changes are nearly all in the main tree (I have to
finish a few small changes), and are being successfully used by
several people (including the Appcelerator team).

Depending on what you want to do, you might consider just using the
Appcelerator package, as building WebKit and integrating it in an MFC
application is not well documented.

I created a sample MFC application based on one of the Apple example
programs a month or so ago, and posted a link to it on my blog
(http://lwat.blogspot.com).  I don't have a direct link handy --
sorry!

Good luck,

-Brent
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


-----------------------------------------

"Privileged/Confidential information may be contained in this e-mail 
and attachments. This e-mail, including attachments, constitutes non-public 
information intended to be conveyed only to the designated recipient(s). If you 
are not an intended recipient, please delete this e-mail, including 
attachments, and notify us immediately. The unauthorized use, dissemination, 
distribution or reproduction of this e-mail, including attachments, is 
prohibited and may be unlawful. In general, the content of this e-mail and 
attachments does not constitute any form of commitment by VIACCESS SA."

-----------------------------------------

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to