This page walks you through setting up Ultimate++ (UPP) development environment and compiling the hcm4afs.dll library with TheIDE.

1 Set up the UPP framework

1.1 Download UPP

Download the latest UPP release.

Upp Framework Download Page

1.2 Unpack the archive

  1. Extract the archive - e.g. to C:\upp.
  2. Open the extracted folder; you should see theide.exe.

TheIDE.exe Icon

1.3 Launch TheIDE

Navigate to the UPP folder and start the theide.exe file. If Windows Defender prompts you with a security warning, allow the execution of the file. Note: This is a standard warning for files from unknown sources.

When prompted with the copyright dialog:

Copyright Dialog

Press Yes to proceed. Wait for the UPP framework to initialize fully. Once initialization is complete, a dialog window will appear.

UPP Initialization

1.5 Close UPP After Initialization

In the dialog window, press Cancel. This will close the UPP framework and complete the setup process. You are now ready to compile the software.

2 Compiling hcm4afs.dll

2.1 Prepare the Project Directory

Inside the UPP folder, create the following directory structure:

MyApps/
└── _HCM4A/
└── hcm4afs/

Note: The underscore (_) in _HCM4A is required for proper compilation.

Place the DLL library source code into the hcm4afs folder. Example path: C:\upp\MyApps\_HCM4A\hcm4afs\

Project Directory Structure

2.2 Open the Project in UPP

Launch theide.exe again. Select the assembly for hcm4afs.dll from the MyApps folder and press OK to open the project.

Open Project in UPP

2.3 Build the DLL File

In the UPP interface, open the Build menu. Select the Build command.

Build Command

2.4 Monitor the Compilation Process

The UPP IDE console at the bottom of the window will display the build progress. Once the build completes, the compiled hcm4afs.dll file will be saved in the output folder.

Compilation Progress

2.5 Finalize

Close the UPP framework. The hcm4afs.dll file is now ready for use with the CalcFS4A program. Note: Only the compiled DLL file is needed for further work.

Final Output

3 Compiling CalcFS4A.exe

3.1 Prepare the GUI Project Directory

Similar to step 2.1 above, inside the "MyApps" folder, create a folder for the GUI program source code (e.g. C:\upp\MyApps\_HCM4A\CalcFS4A\). Place the GUI source code in this folder.

GUI Project Directory

3.2 Open the CalcFS4A Project in UPP

Start theide.exe and select the assembly from the MyApps folder for CalcFS4A, then press OK to open the project.

Open CalcFS4A Project

3.3 Install Additional UPP Components

Before opening the project, the UPP framework GUI may prompt you to install additional components. Press "Yes" to proceed.

Install Additional Components

3.4 Complete Component Installation

After installation is complete, in the new dialog window, press "Close".

Complete Installation

3.5 Build the EXE File

In the UPP framework interface, open the "Build" menu and press the "Build" command.

Build EXE Command

3.6 Monitor the Compilation Process

After a few minutes, "CalcFS4A.exe" will be compiled. The IDE console at the bottom of the window will indicate progress and show the output folder. Ignore any warnings at the end of the compilation process (they do not affect proper compilation) and check the console for the output file.

EXE Compilation Progress

3.7 Finalize

Close the UPP framework program. The "CalcFS4A.exe" file is now compiled and can be used with the DLL library (only the EXE file output is needed for further work).

Compiled EXE File

4 Combining into the Final Software

4.1 Place DLL and EXE Files Together

Place the DLL file and EXE file in a new folder (e.g. C:\CalcFS4A\).

Combined Files

4.2 Generate Additional Files

After the first start of the software, some additional files will be generated automatically.

Generated Files

4.3 Provide Mapping Data

Before performing any calculations, download the required mapping data and provide it in the Tools > Options menu.

Mapping Data Configuration