Hi,

Sorry for posting newbie questions, but after spending a day going
through the documentation and not being able to tie everything
together, I need some help.
As I'm new I will be able to improve the documentation so anyone new
in the future will not have to go through this themselves...

I am trying to embed a web-browser in my application. Very simple.

My questions:

1)
The page at (https://developer.mozilla.org/en/
Gecko_Embedding_Basics#Getting_the_Code) says I should download the
whole Mozilla tree. As I only need the latest stable version, I need
an archive of it, and not work with a version-control system.
Where do I get the latest stable version of the entire Mozilla tree?
This sounds a little funny to me, but that is what the guide says.
The page at (https://developer.mozilla.org/en/Mozilla_Source_Code_(HTTP
%2f%2fFTP)#Releases) specifically mentions the fact that it's not
possible to download the whole tree in a single archive.
What do I do?

2)
Still in the same page, it says that after I get the entire tree, I
should build using the provided appropriate makefile.
What is the appropriate makefile? The makefile in Firefox, since I
want to embed a firefox browser?
And how do I build using it?

3)
Assuming I am using the Firefox build, and after reading some more, I
ended up with the following .mozconfig in my c:\mozilla\src:

mk_add_options [EMAIL PROTECTED]@/../[EMAIL PROTECTED]@
ac_add_options --enable-application=browser
ac_add_options --disable-vista-sdk-requirements
mk_add_options MOZ_CO_PROJECT=browser

I had to disable vista SDK requirements because even though I followed
the instructions and installed the Windows Vista SDK, I still get the
error in (https://developer.mozilla.org/en/wpcapi.h).
Anyone know how to fix this?

4)
I finished building the Firefox release, and now I have under /c/
mozilla/obj-i686-pc-mingw32/browser/app in the cygwin (is that cygwin?
looks familiar to me) shell, the firefox.exe file.
Is that good?
What do I do now?

5)
The page in (https://developer.mozilla.org/en/Roll_your_own_browser_-
_An_embedding_HowTo) warns that I should use XULRunner to embed my
browser.
I do not need to create a XUL application, I just need an embedded web
browser, and besides specifying something about libxul and
XRE_InitEmbedding, the documentation doesn't really help here.

Documentation seems scattered and at places out-of-date.

I am anxious to use a Firefox browser in my application because it is
faster than IE and has a better future Javascript-wise, so I see in
the press.

Please provide a little help to a beginner.

Thanks
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to