ActiveX: Registering 32-Bit and 64-Bit OCX Controls


ActiveX Edition toolkits include both 32-bit and 64-bit OCX control files to support different application environments. Since only one architecture can be registered at a time, it is important to ensure that the correct version is used based on your application requirements.

OCX files can be registered manually using the Windows regsvr32 utility; however, the toolkit also includes scripts to automate this process for convenience.

To register the controls:

  • Navigate to the installation directory.
  • Locate the lib folder for 32-bit controls or lib64 for 64-bit controls.
  • Run the register.bat file found in the corresponding folder to register all OCX files for that architecture.

During deployment, most installer tools will automatically handle OCX registration. If needed, you can also run the same steps manually on the target machine to ensure the controls are properly registered.

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.