Troubleshooting Tips

Back to Main Page

Solutions

I installed Mozilla or Netscape 7.x but the control does not work!

The control registers but nothing happens or it crashes in VB

The debug version of the control crashes in VB & other apps

The control says "The file res/MozillaControl.html cannot be found. Please check the location and try again"

Regsvr32 failed to register the control

Regsvr32 asks me to locate the Mozilla directory

Regsvr32 returns the error "Registration failed GetLastError returns 0x80070005"

Regsvr32 returns the error "LoadLibrary("mozctl.dll") failed GetLastError returns 0x0000001f"

Regsvr32 returns the error "LoadLibrary("mozctl.dll") failed GetLastError returns 0x0000007e"

Regsvr32 returns the error "LoadLibrary("mozctl.dll") failed GetLastError returns 0x00000485"

Regsvr32 returns the error "LoadLibrary("mozctl.dll") failed GetLastError returns 0x80040154"

The control reports "Cannot create preferences"

The control shows the 3rd party application launcher or has other strange behaviour!

I am using the control from Delphi and I keep getting floating point exceptions!

"If anyone is using the Mozilla control in a Delphi 4.x app, there's a problem in Delphi's "dialogs" unit that results in floating point exceptions in Gecko. In function TCommonDialog.TaskModalDialog you'll find the following statement:

Set8087CW(Default8087CW);

This statement changes the FPU control word, and is called after any common dialog is displayed. According to Borland support, this is necessary because some libraries, namely Microsoft's, want the FPU to be set in 64 bit precision, whereas Delphi expects 80 bit precision. Unfortunately, this call causes Gecko to crash (I believe the floating point exception actually occurs in one of the MSVC libraries required by the mozilla control).

To fix this problem, you'll need to replace the existing TaskModalDialog function with the one below my signature. This fix is part of Delphi 5, so you only need it if you're using Delphi 4 (and I haven't tested it with any other version of Delphi). "

The fix is here.

Back to Main Page