Scott Lanning wrote:
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?


Scott,
This topic has come up in many threads; however, I don't know of a tutorial that takes you from the beginning to the end...anything I've found, I've had to piece it together from tidbits here and there. :-( sorry. Maybe someone else knows of one? I had debated on starting one to post (It'd be specific just to Win 2K and the VC++ environment)...but I just have not had the time yet.

Niky Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to