> So the gecko sdk is currently completely useless??

After asking some questions on #developers on moznet
(irc.mozilla.org), I can answer this question with "for nearly all
applications, yes". It might be possible to use it for something when
you add some of the missing bits.

Here's what I did so far: To get nsIBaseWindow.h, you have to get
nsIBaseWindow.idl from mozsrc/widget/public (and nsISupports.idl and
nsRootIDL.idl from mozsrc/xpcom/base, put them all in one folder (or
set some paths), and run xpidl.exe (from the gecko SDK/bin) like this:

xpidl -m header nsIBaseWindow.idl

xpidl depends on libIDL-0.6.dll and glib-1.2.dll which are not
included int the gecko SDK as well (for some reasons I don't
understand). They are included in
http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip
(in wintools/buildtools/windows/bin/x86), copy them into the gecko
sdk's bin folder (or add them to your path).

As soon as I've got my embedding app working, I'll post detailed
instructions on how I did it (and perhaps some required files missing
from the gecko SDK, so you don't have to get the entire source package
for about 10 files).

Note that the above assumes a x86/windows environment and you bind
yourself to a specific mozilla version if you use nsIBaseWindow,
because its interface is not yet frozen (I hope I got this right). You
need nsIBaseWindow to create the browser window though, so there seems
no way around this at the time of this writing.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to