MKI_GetApplicationState (Application) New in Version 2025.0

www.CAD6.com

C++ Syntax

__int32

MKI_GetApplicationState( void )

 

Returns the current application's state so that the plug-in may adapt to it.

 

For information on which type of application is currently running, use MKI_GetApplicationType().

 

Return Value

Returns one of the following values:

 

MKI_APPSTATE_FREE

The application is working normally, free to use (e.g. CAD6starter).

 

MKI_APPSTATE_LICENSED

The application is working normally, fully licensed and activated (e.g. CAD6studio or CAD6industrie).

 

MKI_APPSTATE_TRIAL

The application is unlicensed and currently in its 30 days trial period. Drawing and library files will be marked as saved by an unlicensed version and can later on only be read by licensed versions or in viewer mode.

 

MKI_APPSTATE_LOCKING

The application is (still) in trial mode, but will switch to locked mode at the next start since it is either unlicensed and the 30 days trial period expired, or licensed but not correctly activated after the 5 or 30 days re-activation period. Drawing and library files will be marked as saved by an unlicensed version and can later on only be read by licensed versions or in viewer mode.

 

MKI_APPSTATE_LOCKED

The application is currently disabled since it is either unlicensed and the 30 days trial period expired, or licensed but not correctly activated after the 5 or 30 days re-activation period. Saving of drawing and library files is disabled, printing and exporting will create watermarks or alike.

 

MKI_APPSTATE_EXPIRED

The application is currently disabled since the license's rental or sample term expired. Saving of drawing and library files is disabled, printing and exporting will create watermarks or alike.

 

MKI_APPSTATE_OUTDATED

The application is currently disabled since the license is outdated (does not support the current version). Saving of drawing and library files is disabled, printing and exporting will create watermarks or alike.

 

MKI_APPSTATE_INACTIVE

The application is licensed and currently in a 5 or 30 days re-activation period. Drawing and library files will be marked as saved by an unlicensed version and can later on only be read by licensed versions or in viewer mode.

 

MKI_APPSTATE_READONLY

The application is working in "read-only" or viewer mode. Saving of drawing and library files is disabled. Drawing and library files saved by an unlicensed version can be opened.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH