Hi, do you have checked the return value of NS_InitEmbedding?
Second thought: Are you sure the "xulrunner environment" is set up properly for your app? If you have a look in a directory where xulrunner is installed you will see some subdirectories and stuff (chrome, components, defaults, greprefs, etc). I'm embedding into a MFC app but I have experienced some crashes and errors too when this "environment" was missing. I just copied everything to the working dir of my app and now it works. regards, Rainer _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
