Configure the Project

The examples were made and tested by using Visual Studio 2017 and Intel Studio XE 2019 Composer for Fortran Windows. The usage with other software versions requires maybe modifications.

An already defined project can be found by following:

C:\<sofistik_installation>\2020\SOFiSTiK 2020\interfaces\examples\fortran\connect_to_cdb

Set up DLL functions and the dependencies

Bellow you can find the description how to define the DLL functions. All functions are described in the CDBASE.CHM file.

Hint

In this example the Active(x64) platform is used.

Configure the project by following:

  • Click on Project Properties Configuration Manager.

../_images/step11.png
  • Set the project platform to 64-bit.

../_images/step21.png
  • Define the working directory of the project.

    C:\<sofistik_installation>\2020\SOFiSTiK 2020
    
../_images/step31.png
  • Set the additional include directories.

    C:\<sofistik_installation>\2020\SOFiSTiK 2020\interfaces\examples\fortran
    
../_images/step41.png
  • Set the path for additional dependencies .LIB file and set it to:

    C:\<sofistik_installation>\2020\SOFiSTiK 2020\interfaces\64bit_debug\sof_cdb_w_dll.lib
    
../_images/step51.png