Eplan Platform API
Eplan.EplApi.System Namespace / EplApplication Class / Init Method / Init(String,Boolean,Boolean) Method
This parameter specifies which configuration is to be initialized.
This parameter specifies whether the license dialog is allowed to be called.
This parameter specifies whether the login dialog is allowed to be called.

Init(String,Boolean,Boolean) Method
Initializes the EPLAN runtime system.
Syntax

Parameters

strApplicationModifier
This parameter specifies which configuration is to be initialized.
bAllowCallingLicenseDialog
This parameter specifies whether the license dialog is allowed to be called.
bAllowCallingLoginDialog
This parameter specifies whether the login dialog is allowed to be called.
Exceptions
ExceptionDescription
Thrown when a problem with licenses or login appears.
Remarks
Off-line applications require to be Single-Threaded because of COM which are used by P8. Therefore, for example Main() function has to be declared with attribute [STAThread]. Please see MSDN or Google for more information about STAThread. Calling this method changes the current culture (default format for dates, times and numbers) used by the thread to the culture in the GUI.
See Also