ActiveX: Using an ARES ActiveX Form Control
Import ActiveX.dll using AxImp.exe Windows Form ActiveX Control Importer. For more details, 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. If x64 is installed, then use the x64 version of AxImp. Windows SDKs provides AxImp.exe.Run AxImp Visual Studio Command-line to import ActiveX.dll to the <installation path>\BIN folder. Copy ActiveX to any folder. You can switch command line to 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
Copy platforms folder from <installation path>\BIN folder into the project output path.
Run the EXE file, which contains the FxAxGLWidget ActiveX control.