Build Issue:

Typically running "nmake -f makefile.win" in the embedding/config dir should do it without any issues.

Couple of things to check:
1. Is the embed.jar file being successfully built and present in your $DIST\embed\chrome dir? if not you may not have the proper tools env setup.
2. If the jar file is present then the tmpchrome dir should be present and you need to figure out why it's unable to remove that dir. Try removing it from the command line by using "rm -rf tmpchrome" and see what happens.
[Worst case just comment out the "$(RM) -rf $(DIST)\Embed\tmpchrome" line in the makefile.win so you can proceed with your other stuff]

Getting rid of toolbars etc:

Since you seem to be taking the route of "rolling your own browser" you should be able to take a look at MfcEmbed or WinEmbed(under the embedding/tests dir) to see how they embed Gecko. Since they're just Windows programs you can remove the code which sets up the toolbar's/menus etc and you'll end up with a program which just embeds Mozilla and be able to display HTML etc. You can further strip MfcEmbed or WinEmbed to get rid of other unnessary features they implement if you think they're useless in your case.

Or

You could hack Mozilla's chrome files etc. to get rid of the unwanted toolbars etc. IMO, this would be more work.


Thanks
Chak

Reply via email to