Gnubie wrote:
>At this time, I am evaluating using the CHtmlView VS. the embedded
>Gecko engine for rendering dynamically generated HTML. The
>LoadStream() function looks to be perfect for this task, so I am
>leaning towards the embedded Gecko engine.
>Is there anywhere that has pre-built libraries for Win32? I don't have
>the disk space to install all the software required to compile Mozilla
>and compile Mozilla as well. Another complication is that I am working
>in a team environment where it wouldn't be fair for me to require
>everyone else to install Cygwin/libtools/Mozilla source.
>All that is needed to compile a program that embeds Gecko are the
>header files and lib files for Mozilla, right?
>
>Thanks for any assistance in this matter.
>
The answer is there is currently no binary SDK containing just the
headers and libraries necessary to build clients against Mozilla, but if
you're considering using CHtmlView, you should look at the Mozilla
ActiveX control project:
http://www.iol.ie/~locka/mozilla/mozilla.htm
Small modifications to a subclass (or copy) of CHtmlView in the Create
method should allow it to work with either the Mozilla or IE ActiveX
control. Just add some code which changes which CLSID to use depending
on whether you want IE or Mozilla.
An SDK is anticipated at some point, at least for Win32 and the Mac but
no solid plans have been made because of all the bugfixing and other
deadlines we're struggling with at the moment. General embedding info is
here:
http://www.mozilla.org/projects/embedding/
Adam