Using Regsvr32 to Register a File
Dependency files such as OCX files and many DLL files require an entry in the Windows Registry before they become available to the programs that use them. Regsvr32 is a utility that provides the user a quick easy way to register and un-register dependency files. You can run Regsvr32 by clicking the Windows START button followed by clicking RUN and then followed by typing in the command REGSVR32 followed by the full path to the dependency file that you are registering. The RUN textbox off the Windows START button also responds to Drag and Drop. This means that after clicking the Windows START button and clicking RUN and keying REGSVR32 into the open textbox, you can simply drag and drop the dependency file from Windows Explorer rather than typing in the full path to the file. After getting the command line into the textbox, either by typing it out or using drag and drop, simply click OK and Regsvr32 will register the file. Screenshots appear below to illustrate the process of registering a dependency file.
Drag and Drop


Or…
Manual Procedure
Single click the Windows START button and select RUN. Type the following command line into the RUN textbox:
REGSVR32 C:\jcapper\ocx/comdlg.ocx
Your Open textbox should look exactly like the illustration shown above. After you have the correct command line typed in, click the OK button. Regsvr32 will register the dependency file and you will get a registration successful message.
Where to find dependency files required by JCapper
All of JCapper’s dependency files can be found in the following folder:
C:\JCapper\OCX
On some systems it may be necessary to use regsvr32 to register one or more of these files in order to get JCapper to run properly. If you try to run JCapper and get an error message about a missing dependency file, then using regsvr32 to register that dependency file is the treatment of choice.
Author: Jeff Platt
Last Modified: 2/18/2007