Failure to register WSPELL.OCX

You are here: Home > Support > WSpell > Failure to register WSPELL.OCX

When an ActiveX (OCX) control such as WSpell is installed on a target machine, it must be registered (for example, using regsvr32). Under some circumstances, registration may fail. Note that this problem is not specific to WSpell; it can apply to the registration of any OCX. According to Microsoft, registration failure is caused by two conditions on the target system: 1) Missing or out of date DLLs; 2) problems with the system registry.

The list of DLLs used by WSpell (and the DLLs those DLLs use, etc.) is provided below. If you are experiencing problems registering WSpell on a target machine, check that the system in question has the listed DLLs available, that the DLLs are located in the search path (e.g., in the WINDOWS or WINDOWS\SYSTEM directory), and that the versions are equal to or later than the versions listed here:

The current version of WSpell ActiveX Control depends on the following C/C++ runtime libraries:

  • msvcr80.dll   (version 8.0.50727.6195)
  • mfc80.dll   (version 8.0.50727.6195)

NOTE: The current distribution and documentation references the old files used by VC++ 6.0 (mfc42.dll, msvcrt.dll, olepro32.dll). These files are no longer required, and the distribution and documentation will be updated in the next release.

The vast majority of modern Windows machines will already have the DLL's listed above installed. However, if they cannot be found on the machine, you can run the Microsoft installer for these C/C++ runtime libraries, which ensures that all the manifests and other side-by-side items get installed to the correct place(s) on the target machine. The Microsoft installer (vcredist_x86.EXE), can be downloaded from

http://www.microsoft.com/en-us/download/details.aspx?id=26347

NOTE:

  • Even if installing on a 64-bit version of Windows, since WSpell is a 32-bit OCX, it is the 32-bit runtime DLLs that are required.
  • On some systems, notably Windows Vista, the 'regsvr32' command must be run from an "elevated" prompt. This means you MUST right click the "Command Prompt" shortcut, and select "Run As Administrator" from the context menu. (It is NOT enough that you simply issue the command from a userid that has Administrator privileges.) Then issue the 'regsvr32' command from the elevated command prompt.
  • On a 64-bit Windows system, you sometimes cannot manually register a 32-bit OCX from the default 64-bit DOS command box. You have to explicitly run %windir%\SysWoW64\cmd.exe to run a 32-bit DOS command box, in which you should be able to register wspell.ocx.

Another cause of registration failure is errors in the system registry. Microsoft has made a utility called RegClean available which solves the problem and allows OCX controls (such as WSpell) to be registered successfully. RegClean is described in MSKB article Q147769. According to the MSKB article, the latest version of RegClean should be used, not the version shipped with Visual Basic. The article describes how to obtain the latest version of RegClean.

Wintertree Software Inc.

Site index:


[Home] [Products] [Catalog] [Ordering] [Search] [Contact Us]


Copyright © 2015 Wintertree Software Inc.