[Mono-list] Gecko# bindings

Daniel Stodden stodden@in.tum.de
20 Mar 2002 18:30:28 +0100


On Wed, 2002-03-20 at 15:51, Christoph Wille wrote:
> I just wanted to ask if someone is already working / would like to work on 
> wrapping Gecko in C# classes?
> 
> Reasons
> 
>    * we (SharpDevelop) use IE right now; we want to drop it for Gecko, 
> which makes live easier now, not only for later porting SD to Mono on Linux.
> 
>    * the Gecko bindings could (potentially) be separately available from 
> Mono for Windows developers - so that everyone can move from IE to 
> integrating Gecko instead.
> 
> The http://www.newsforge.com/article.pl?sid=02/03/19/1412217 article 
> prompted that idea (again). Main reason why I ask here is that we do not 
> have enough resources to write the bindings.

i beg you to do so.
however, i'm not sure whether we're thinking about the same thing here.
you don't want another custom-made set of bindings to maintain.
mozilla is built on xpcom, and people there have spent years in getting
interface based programming to work on all these systems.
if you don't know what i mean, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkcominteroppart1cclienttutorial.asp
for an explanation.

do you think you can walk that way? it will take you some significant
amount of time spent both on mozilla and the runtime. but it's the
'sane' of two options. mozilla, like any other code, is evolving. you'd
get mad maintaining custom bindings. the right thing(TM), and the way to
go, is XPCom interop, and i'd expect you to get lots of positive
feedback (and help) from the netscape front.

best regards,
daniel

-- 
___________________________________________________________________________
 mailto:stodden@in.tum.de