Abhilash Maniam wrote:
Hi
I get the followin errors while running regxpcom.exe in Netscape:

"Cannot Initialize XPCOM glue
Cannot Acquire Component Registrar."

I have Netscape 7.1 and gecko-sdk 1.4. I have Visual Studio .NET.

I have set the following environmental variables.

MOZ_TOOLS = c:\moztools
and have included it in the path.

What are the env. variables that I have to set.

Thank you.
Abhilash


Abhilash,


How are you running regxpcom.exe? From what directory? If you run regxpcom.exe from the directory containing xpcom.dll, you shouldn't see this error.

Otherwise, see the help options (regxpcom.exe --help). Specifically, the -x option which states:

Specifies the location of a directory containing the xpcom library which will be used when registering new component libraries. This path will also be added to the "load library" path. If not specified, the current working directory will be used.

If it still doesn't work, send me an email with the contents of your registry under HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\GRE

Regards,
Doug Turner




Reply via email to