Hi,
I have no means to compile webkit myself. I have downloaded night build containing webkit.dll, I'd like to use it in Delphi (Object pascal) and the only way I see to do it is use COM component (below is source code), but calling DllRegisterServer
functions raises on error because I do not have CoreFoundation.dll

My question is how then can I use/get webkit.dll to be used in Delphi if I cannot complile source code myself.

procedure TForm1.Button2Click(Sender: TObject);
var  webKidModule, fpc: hresult;
    fp: function : hresult;
begin
 webKidModule := LoadLibrary('WebKit.dll');
 @fp := GetProcAddress(webKidModule, 'DllRegisterServer');
 if (@fp <> nil) then
 begin
   fpc := fp(); //calling DllRegisterServer
   if (fpc = S_OK) then
   begin
     ShowMessage('no');
end; end;
 FreeLibrary(webKidModule);
end;

Brona


Gustavo Noronha Silva wrote:
On Tue, 2008-09-16 at 14:02 +0200, [EMAIL PROTECTED] wrote:
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...

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,


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

Reply via email to