On Aug 16, 12:18 pm, "Arnaud" <klephte2003 at yahoo fr> wrote:
> If you expect to use Gecko as a crawler to get the DOM view of the DHTML
> pages you will download, that's certainly the best way.  A very usefull
> example is located in [C:]\mozilla\embedding\tests\winEmbed, but the Visual
> studio Project winembed.dsp seems to be out of order, so I rewrite one, you
> could get it athttp://www.grandville.net/download/winEmbed.vcproj
>
> An other way, for 'statics' HTML (whitout local javascript execution), I
> wrote an efficient crawler based on two other greats tools : CUrl and
> LibXML.
>
> Greetings From France,
> Arnaud
>
> <[EMAIL PROTECTED]> a écrit dans le message de news:
> [EMAIL PROTECTED]
>
> > Hi all,
>
> > I've been trying to embed Gecko in a C++ crawler that I'm writing, and
> > all in vain. Docs online are either outdated or confusing, or maybe
> > I'm just not able to get it. I read somewhere that to embed Gecko we
> > no more require to checkout the entire Mozilla source tree, nor do we
> > need to download the gecko-sdk. Downloading and installing the latest
> > xulrunner builds has got all the necessary files for writing
> > components in XPCOM. So as of now, I have xulrunner-1.8.0.1 on my
> > machine, and nothing else. I use Visual Studio 2003 as my IDE. I have
> > no clue as to how to get started. A simple 'hello-world' app, or just
> > downloading one single webpage from the Internet, or something like
> > that.
>
> > Could someone please help me out here? Any help will be greatly
> > appreciated.
>
> > Thanks,
> > John.

Thanks Arnaud. When I try to build that vcproj, I get fatal errors
saying that some headers are missing, like nsCWebBrowser.h,
nsXULAppAPI.h, etc. I don't have these files on my system. I also see
that my gecko-sdk has got only one include folder in its root
directory, and that's it. Is my build-setup bad? Latest gecko-sdks
have got only four folders in its root - bin, lib, idl and include.
What am I missing?

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to