On Jan 29, 4:43 pm, JimmyBazooka <[email protected]> wrote:
> I've built entire mozilla source tree into the objdir named 'obj-
> optimized-release'. It has all obj and dlls neede now. So while it is
> said everywhere how to embed the gecko showing the code needed to
> initialize it, it is not shown where do i put my project that will use
> gecko, and how do i setup access to the mozilla source. Do i need to
> add each src folder to the VS2005 include path? And where do i place
> my project? Please anyone help me, i'm stuck at this point as i cant
> figure out what to do to properly include mozilla files into my
> project to start calling function and embbeding

You need to point your VS project include paths to the obj-optimized-
release/xulrunner/dist/include folder. Your library paths should point
to the xulrunner/dist/lib folder. For an example of using the new
embedding APIs see:
https://wiki.mozilla.org/Embedding/NewApi

With a demo VS project in the source code and instructions for
building it here:
https://wiki.mozilla.org/Embedding/NewApi/Win32

Note, that you use a XULRunner SDK (prebuilt) if you want to as well:
https://wiki.mozilla.org/Embedding/NewApi/Win32#Using_XULRunner_SDK
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to