Creating a 64-bit Windows C++ ActiveX Form or ActiveX Control

From RAD Studio
Jump to: navigation, search

Go Up to Using ActiveX Controls Index


To create an Active Form or ActiveX Control in a 64-bit Windows C++ project, you need to create your Active Form or ActiveX control while 32-bit Windows is the Target platform in the Project Manager. After running the wizard, you need to set your project's Target platform to 64-bit Windows, as described in the following procedure.

To create an Active Form or ActiveX control in a 64-bit Windows C++ project:

  1. Create an ActiveX Library as the host:
    Select File > New > Other > C++Builder Projects > ActiveX > ActiveX Library and click OK.
  2. Create the ActiveX Form or ActiveX Control. Select either:
    • File > New > Other > C++Builder Projects > ActiveX > Active Form, click OK and complete the wizard.
    • File > New > Other > C++Builder Projects > ActiveX > ActiveX Control, click OK and complete the wizard.
  3. In the Project Manager, set the Target platform to 64-bit Windows.
  4. Complete your project.

See Also