Have you looked at the "docs"? http://www.mozilla.org/projects/embedding/GRE.html
One other question related to Windows embedding; is it possible to have NSPR libraries installed into the Windows\system folder?
Yes, but as you know that is not advisable.
What I'd like to do is move towards not having to add things to the user's PATH to get wxMozilla Python bindings to run. I don't know how often the NSPR libraries change, but if they do remain relatively stable this would allow people to utilize GREs that are not in the current directory without setting the PATH.
Recently, we had to ensure that the NSPR libraries were next to the embedding application because some Netscape Server product shipped a copy of NSPR and put it in the c:\windows directory. This directory is read before libs in the user's path. (check out msdn for all the details of search paths). Although, most people don't run Netscape Server products, it is just an example of an application causing you embedding application to fail/crash.
I hope, eventually, to remove the xpcom-glue dependency on NSPR. If we get to that point, it might be possible to fix this problem though some kind of dependent library fix that I added to XPCOM recently.
Regards, Doug Turner
