On 24 nov, 15:58, Benjamin Smedberg <benja...@smedbergs.us> wrote: > 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/nsEmbedFunc... > > I think your best bet is probably to step through and figure out why it's > not working. > > --BDS
Sorry but I don't know what is the problem. As you say, if the second argument is null it takes the first argument (where libxull library was found). The application must be started with xulrunner command like a xulrunner desktop application? I run it like all linux executables, I think this is the correct way, in't it? I saw the code of other examples and is the same. I don't know what can be the problem. Any idea? _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding