For my application, it can be run in either GUI or command-line only mode.
When running the GUI, it has a window to allow user to enter cryptlex key and activate the license.
This is working correctly.
But when running in command-line mode, the calls to IsLicenseGenuine() and IsTrialGenuine() both return different results that when the app is running in GUI mode.
GUI and command line modes use exactly the same app executable. There is a command line parameter to enable command-line mode.
Does the app’s main window somehow affect how lexactivator stores the license details?