On Wed, 24 May 2006, Niky Williams wrote:
I'm not extremely familiar with Linux, but...when you call NS_InitEmbedding () you used nsnull...I would guess then that you have your libs (.so modules on linux?) in the same directory as your project? You have to be sure that if you pass nsnull to NS_InitEmbedding () all required modules are there in the .exe directory. Otherwise you need to create an nsIFile to point to where your /mozilla/dist/bin is located. So, all that to say that possibly it is not registering everything properly. I'm no expert :) but that is the first thing that jumped out at me.

Swapnil's example minimal code along with compiling instructions,
plus the information you added here, are very useful to a Mozilla
embedding novice. Do you (or anyone) know if there's a HOWTO-style
page that shows explicitly the how, what, and why of creating and
developing your own embedding project from scratch?
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to