Hi all,

I'm trying to modify MfcEmbed (extracted from the .zip package) and bundle it in my application. I found that
MfcEmbed.exe is included in the .zip mozilla package, but not in the .exe mozilla package. With the .zip package,
MfcEmbed.exe sits at the same directory as mozilla.exe, it works.


But if I install the .exe mozilla package, there is a user specified installation directory (including mozilla.exe ) and
a created GRE directory under: [Common Files]\mozilla.org\GRE. I verified that MfcEmbed.exe needs to be put
at the GRE directory to work.


The problem is that, assuming I can check the mozilla.exe path if it's set as the default browser, how can I identify
the GRE path for the this mozilla version, so that I can copy MfcEmbed.exe and make it work ?


I searched that the GRE directory could be found automatically by the mozilla binaries. But as I need to
embed/bundle MfcEmbed in my application, I need to find it in the code, with the mozilla.exe binary path available.


I think this is a common case the for MfcEmbed embeddors. Does anybody have any idea, or any way around ?
I appreciate any comments or help !


-George.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to