On 11/24/09 9:41 AM, Blaine Monkey wrote:
> I've a xulrunner C++ embedding example, it compiles and generates the
> executable, but when I run it, the XRE_InitEmbedding fails. I've xulrunner
> installed in /opt/xulrunner-1.9.1.4
> 
> What am I doing wrong?

The code doesn't look bad offhand. I was a bit suspicious of passing null
for the second parameter of XRE_InitEmbedding, but the code appears to deal
with that:

http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsEmbedFunctions.cpp#97

I think your best bet is probably to step through and figure out why it's
not working.

--BDS

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to