Deploying ActiveX Controls

From RAD Studio
Jump to: navigation, search

Go Up to Using Installation Programs


ActiveX controls that you create need to be registered on the deployment computer before use. Installation programs such as InstallAware Express automate this registration process.

To manually register an ActiveX control, do one of the following:

  • In the IDE, choose either:
  • Use the RAD Studio utility TRegSvr.exe (installed in your product installation \bin directory C:\Program Files (x86)\Embarcadero\Studio\20.0\bin).
Click Start | Programs | Embarcadero RAD Studio Rio | Samples and navigate to the Object Pascal\VCL\TRegSvr directory to find the TRegSvr sample (see Code Examples and Application Samples).
  • Use the Microsoft utility REGSVR32.EXE (not included with Windows 9x versions).

Note: You also need to distribute with your application any DLLs that support an ActiveX control.

See Also