One call of hcomp can always create only one interface, i.e, the options described as follows can only be switched on under mutual exclusion. Use
hcomp -H [-ppackage] def-files
to create the main interface code (Hpackage.c), which is necessary independent whether you want to use the package in HDevelop or in a programming language.
Additionally, the commands in the following table create the needed files for the corresponding programming languages.
| Language | Command | Created Files |
| C | hcomp -C [-ppackage] def-files | HCpackage.c HCpackage.h |
| C++ | hcomp -P [-ppackage] def-files | HCPPpackage.cpp HCPPpackage.h |
| C# | hcomp -N [-ppackage] def-files | HDOTNETpackage.cs |
The generated source files are the basis for the interface libraries, see section “Generating HALCON Packages”.