| Newsgroups |
gmane.comp.mozilla.devel.embedding |
| Organization |
NovaDSP |
| Message-ID |
<[email protected]> |
db.
The MozMFC project is available from the link below. It contains a
complete VS2008 MFC doc/view Mozilla embedding. The .zip is binary free.
The documentation is just about enough to grok what is happening.
3 things to note:
1. you will need to use the enclosed .mozconfig file to build the
project so we can be sure we are dealing with the same beast :)
2. I have a fixed path to the location of the xul dll and its friends.
In my view 100% acceptable for a embedding proof of concept. I cannot
get xulrunner to register the gre correctly here on Win7 x64 even as
admin ....
3. Ensure the AdditionalIncludeDirectories is set correctly/
e.g.
AdditionalLibraryDirectories="U:\mozilla\mozilla-1.9.2\xul-debug\dist\lib"
If you unzip you should get two folders, one for the project, the other
which contains some of my generic C++ utility classes. Provided your Moz
installation is correct and you've built OK the project should
compile/link/run out of the box (ha!)
Please let me know if you find bugs or make useful, nay even trivial,
changes.
License is BSD.
Good luck
http://www.novadsp.com/get2.aspx?product=mozmfc-20062010.zip&source=moz
<http://www.novadsp.com/get2.aspx?product=mozmfc-20062010.zip&source=moz>
Jerry.
On 21/07/2010 14:55, db wrote:
> On Jun 28, 8:13 am, "[email protected]"<[email protected]> wrote:
>
>> Chris
>>
>> I have just about completed a project that embedded the 1.9.2 code
>> within a standard MFC doc/view application. It also supports printing
>> etc. About the only thing that does not work are carets in edit controls
>> (no idea why). I am happy to share this code and VS2008 solution with
>> any one interested.
>>
>> I planned to write a CodeProject article on embedding Mozilla but have
>> not had the time to complete - the hope being it would be just such a
>> coherent resource.
>>
> I am very interested. I tried the "win32_test" project linked against
> a few XULRunner builds (1.9.1.8, 1.9.2.6, 1.9.3a2pre), and not only do
> I get no carets in text input fields, but I cannot enter text in them
> either.
>
> As part of our needs are interactive HTML, rather than just a viewer,
> I'm still stuck with CHtmlView, CHtmlDialog etc. in MFC.
>
> Thanks.
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
>
>