Registering / unregistering application DLL files

Scenario

You may receive error messages that reference a specific DLL file (the file name ends with .dll) on your workstation or server. This error appears when the DLL is required for use by the application and may indicate that the DLL has not been registered correctly.

Solutions

Use the following procedures to register the a DLL.
Register / re-register files
To register or re-register an application DLL file on your workstation, follow these steps.
  1. Choose
    Start
    then
    Run
    and enter
    regsvr32
    followed by the path to the DLL file you would like to register.
You do not need to unregister a file to re-register it.
The following example is an integration DLL file that needs to be re-registered for FileCabinet CS. The file is stored in
X:\WinCSI\Cabinet\cscabsv.dll
, (where X represents the drive where FileCabinet CS is installed).
In the
Run
dialog enter the following line to register cscabsv.dll.
regsvr32 X:\WinCSI\Cabinet\cscabsv.dll
note
If you've installed FileCabinet CS into a folder with a label that contains a space (for example,
X:\Program Files\Winapps\Cabinet
), you must enclose the entire path, including the file name, in quotation marks, as follows.
regsvr32 "X:\Program Files\Winapps\Cabinet\cscabsv.dll"
Unregister files
If you still see this error after completing the steps above, you may need to unregister the DLL file prior to re-registering it. To unregister the DLL, include
/u
followed by the DLL path, and then enter the same command without the
/u
to register it again.
Example
To unregister the file from the example above, enter the following into the
Run
dialog.
regsvr32 /u X:\WinCSI\Cabinet\cscabsv.dll
Errors on a 64-bit machine when registering / un-registering DLL files
Follow these steps if you receive errors when you attempt to register / unregister DLLs on a 64-bit machine.
  1. Verify the path and name of the DLL that you are registering are valid.
  2. Choose Start and enter
    cmd
    in the
    Search
    field.
  3. Right-click
    cmd.exe
    and choose
    Run as administrator
    .
  4. Re-enter the regsvr32 commands.
If you continue to receive errors when registering or unregistering files, contact your IT professional to review your permissions.