On 22 Sep 2001 16:05:28 GMT, [EMAIL PROTECTED] (dmadrid) wrote:

>Hi,
>
>I'm starting developing an application for Linux that among other things 
>must surf on Internet, I'm interested in using Mozilla as a component of 
>this application, I want to know if there exists some way to use Mozilla 
>as a component from Kylix.
>
>Thanks in advance
>
>David Madrid

I don't know much about embedding mozilla, but I believe the embedding
interfaces are all based on XPCOM.  Since the support for languages
other than C++ in XPCOM is weak (languages that are meant to be used
like C++, not like Javascript), I think it would be difficult to write
a Kylix component in object pascal to access it.  While XPCOM is not
tied to C++ in theory, I think in practice to use it you need to
rewrite parts of the XPCOM framework/tools or wrap them in some C/C++
code that Kylix could call.  Can people more familiar with XPCOM and
embedding confirm my suspicion about the C++ centric nature of XPCOM?

I would also be very interested in information about embedding mozilla
in Kylix.  Are there any Kylix developers out there with ideas about
how to best approach this problem?

Chris Hill
[EMAIL PROTECTED]

Reply via email to