Hi Julius,
Great suff. I'll definitely have a look at this over the weekend. Did you make any changes or is the SDK the same as on SourceForge?
It should be possible to use a GRE installed in a separate location to your app like Firefox and SeaMonkey do; e.g. 'C:\Program Files\Common Files\mozilla.org\GRE\1.8.0.1_2006012700\'. This path is stored in registry key 'HKEY_LCAL_MACHINE\SFTWARE\mozilla.org\GRE\1.8.0.1 _2006012700\GreHome' so getting the path from the registry may be a solution to the problem. I've not looked at your sample app yet so this is just a guess. There can be more than one version of the GRE installed depending on which versions installed applications require.
Thanks,
Dave.
Dave Murray
Glasgow, UK
message
From : "Julius Alba" <juliusa (AT) newbielabs (DOT) com>
To : "moz-delphi" <delphi (AT) mozdev (DOT) org>
Cc :
Sent : Tue, 30 May 2006 09:58:14 -0500
Subject : RE: [Moz-Delphi] Embedded Gecko in your Delphi Application
I tried to contact the Japanese Guy who converted the Gecko SDK to
Delphi by posting on his comments form a few weeks back and got no
response.
The Delphi Gecko SDK was taken from:
I had a chance to play around with it. At first I couldn't get my sample
app to work using his SDK. I was getting an Access violation. Finally
found out that you needed to set your Delphi Project directory to
the Gecko path that contains all the Gecko Library DLLs. I uploaded all
the files to our site including some sample Delphi apps. I also included
the Gre.zip which was not available at his site.
%20Gecko%20SDK/
GeckoSDK.zip - contains the Delphi translated Gecko SDK
Gre.zip - contains Gecko Library DLLs
GeckComponents.zip - contains a Gecko Browser component (much better
than the ActiveX Mozilla version)
SampleApps.zip - sample Delphi applications.
Regards,
Julius Alba
Founder/CT, Newbie Labs
www.newbielabscom
Message
From: delphi-bounces (AT) mozdev (DOT) org [mailto:delphi-bounces (AT) mozdev (DOT) org]
Behalf Irongut (AT) vodafone (DOT) net
Sent: Tuesday, May 30, 2006 4:40 AM
To: delphi (AT) mozdev (DOT) org
Subject: RE: [Moz-Delphi] Using Gecko from delphi without ActiveX?
Dreams? Norealitry!
Hi,
I've tried reading the embedding docs myself a few times they're heavy
going, especially for someone like myself with only a very basic
understanding of C and no knowledge of CM. I always gave it up as too
big a job to write a proper Delphi SDK for Gecko.
Have you tried to contact the owner of the SF project? I'd love to
include his project on the delphimozdev page and get a team together to
develop it further. I feel Mozdev is a better place for this kind of
project than SF. I imagine there will be some updating nececessary for
Gecko v1.8 but hopefully it won't be too different.
Thanks,
Dave.
Dave Murray
Glasgow, UK
message
From : <bigdeny (AT) yahoo (DOT) com>
To : "moz-delphi" <delphi (AT) mozdev (DOT) org>
Cc :
Sent : Mon, 29 May 2006 23:55:01 -0700 (PDT)
Subject : [Moz-Delphi] Using Gecko from delphi without ActiveX?
Dreams? Norealitry!
Hi!
Let's just say, that I was desperate enough that I
Started reading gecko embedding documentation on
mozilla site. I did figure out that xpcom.dll exports
some functonality as C callable functions. I was also
prepared to convert idlfiles to delphi units by hand.
But before i started digging deeper into documentation
i've got a hitch. I used google to search in gecko
embedding group for a couple of things. I came aross a
Japanese guy who did it in 2004!!, But he recently
registred a project on sf.net. I haven't had a time
yesterday to dig further into code, but he created a
browser component written xpidlpas which you use to
convert idl files to pascal unit with xpcom
interfaces.
The code is tri-licensed (same licenses as mozilla
code).
But there is one problem i think that guy doesn't
speak english. Sources are in svn repository of
Altrough i
think it would be better to have everyting on mozdev
delphi page :)
So guys should we open a new page in gecko/delphi
embeding:) I know what i need, a borwser with dom
access and a simple html editor with live
spellchecking for my opensource e-mail client
(http://simail.sf.net)
I know that there will be a toon of questions I'll try
to answer them during a day.
Regards,
Miha
Delphi mailing list
Delphi (AT) mozdev (DOT) org
Delphi mailing list
Delphi (AT) mozdev (DOT) org
Delphi mailing list
Delphi (AT) mozdev (DOT) org