[fpc-pascal] XPCOM and freepascal

Michael Van Canneyt michael at freepascal.org
Tue Mar 23 14:58:22 CET 2010



On Tue, 23 Mar 2010, Johannes Nohl wrote:

> Dear list,
>
> I wonder if it's possible to develop extensions (aka Add-Ons) for
> Firefox (or in my case Thunderbird). I'm totaly unfamiliar to the
> stuff right now. But the advantage I could think of is 1) I don't know
> C++ and 2) it is easy to cross compile code for different platforms.
>
> Writing extensions without javascript needs XPCOM bindings. I saw that
> there're some for using the gecko rendering engine in Firefox. Is
> there a more general thing to access XPCOM? Anybody has experience
> with this? I'm a total C++ noob.
>
> Any help would be appreciated.

Try looking at the gecko integration package. It is meant to do 
the opposite (integrating gecko in your app) but it also uses
xpcom, and you should get ideas from that.

Michael.




More information about the fpc-pascal mailing list