<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I have no means to compile webkit myself. I have downloaded night build
containing webkit.dll, I'd like to use it in Delphi <br>
(Object pascal) and the only way I see to do it is use COM component
(below is source code), but calling DllRegisterServer <br>
functions raises on error because I do not have CoreFoundation.dll<br>
<br>
My question is how then can I use/get webkit.dll to be used in Delphi
if I cannot complile source code myself.<br>
<br>
procedure TForm1.Button2Click(Sender: TObject);<br>
var&nbsp; webKidModule, fpc: hresult;<br>
&nbsp;&nbsp;&nbsp;&nbsp; fp: function : hresult;<br>
begin<br>
&nbsp; webKidModule := LoadLibrary('WebKit.dll');<br>
&nbsp; @fp := GetProcAddress(webKidModule, 'DllRegisterServer');<br>
&nbsp; if (@fp &lt;&gt; nil) then<br>
&nbsp; begin<br>
&nbsp;&nbsp;&nbsp; fpc := fp(); //calling DllRegisterServer<br>
&nbsp;&nbsp;&nbsp; if (fpc = S_OK) then<br>
&nbsp;&nbsp;&nbsp; begin<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('no');<br>
&nbsp;&nbsp;&nbsp; end;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp; end;<br>
&nbsp; FreeLibrary(webKidModule);<br>
end;<br>
<br>
Brona<br>
<br>
<br>
Gustavo Noronha Silva wrote:
<blockquote cite="mid:1221568965.24748.118.camel@abacate.horta"
 type="cite">
  <pre wrap="">On Tue, 2008-09-16 at 14:02 +0200, <a class="moz-txt-link-abbreviated" href="mailto:konference@pro2-soft.com">konference@pro2-soft.com</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,
i'm little confused now. I thought that webkit is open source so how
can there be dependency on those libraries if I cannot use/distribute
them...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
WebKit being open source doesn't really mean it only depends on open
source libraries. The licences it is under (BSD/LGPL) allow linking with
closed, proprietary software. As Julian noted, though, you should be
able to build a version of WebKit for windows using Cairo and Curl
instead of those dlls you mentioned. You will then be able to
redistribute it with no problems.

See you,

  </pre>
</blockquote>
<br>
</body>
</html>