OnixS C++ FIX Engine requires a valid license for execution. If the FIX Engine cannot find a license or the license has expired, OnixS::FIX::Engine::init throws OnixS::FIX::Exception.
By default, C++ FIX Engine looks for the license file(s) in the current working directory and then looks for the license in the user home directory.
However, your license file can be placed anywhere on the file system. To instruct C++ FIX Engine about an alternative location of the license file, it's necessary to specify the path to the folder which contains license file(s), using LicenseStore configuration setting. You can specify more than one license store, the symbol '|' is used as the license store delimiter.
Also, you can specify the license content directly using LicenseString configuration setting.
The LicenseFile configuration setting is deprecated as of FIX Engine 2.76.1.0.
You can check the expiration date in the license file or, after initialization, by calling OnixS::FIX::Engine::instance()->licenseExpirationDate().