Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Import ActiveX.dll using AxImp.exe Windows Form ActiveX Control Importer for . For more details follow the link below, see:
    (https://docs.microsoft.com/en-us/dotnet/framework/tools/aximp-exe-windows-forms-activex-control-importer)
    Note: AxImp has both platform versions - x64 and x86, so if . If x64 is installed, then please use the x64 version of AxImp. This Windows SDKs provides AxImp.exe is supplied with Windows SDKs.

  2. Run AxImp Visual Studio Command-line to import ActiveX.dll in to the <installation path>\BIN folder. Copy ActiveX to any folder.
    i.e. You can switch command-line to this the folder , where the ActiveX.dll is copied D:<Any Folder>>"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\AxImp.exe" "ActiveX.dll"
    Add the following two generated assemblies as reference, as well as other necessary references, according to the API usage.

  • Generated Assembly: D:\PCAD_AX_X.dll

  • Generated Assembly: D:\AxPCAD_AX_X.dll
    Add

...

  • AxPCAD_AX_X.AxFxAxGLWidget ActiveX to any Form Control

...

  • to your project. See MainForm.InitializeComponent() of Sample

...

  • .
    Build the project.

  1. Copy platforms folder from <installation path>\BIN folder into the project output path.

  2. Run output EXE, which contains the FxAxGLWidget ActiveX control.