Name |
PrepareForce |
||||||||||||
Purpose |
Prepares the Licence Protector instance for usage and opens the license file. If a license file can’t be opened due to a wrong Installation Code (Copy Protection) this error will be ignored and the file will be opened |
||||||||||||
Params |
|
||||||||||||
Returncode |
|
||||||||||||
Usage |
Normally Prepare should be used! PrepareForce can be used for administration tools that have to be able to open every known license file. Dependant of property SecurityLevel PrepareForce can open license files with Security Level BASIC (=0, default) or files with Security Level ADVANCED (=1). Note: PrepareForce can’t open license files where the PSK is unknown. Only the Installation Code is ignored. |
||||||||||||
Sample |
lic.SecurityLevel := 0; // the following PrepareForce uses SecurityLevel BASIC and needs a PSK // at 1, PrepareForce uses SecurityLevel ADVANCED and needs a ReadKey iRes := lic.PrepareForce(sMyLicfile, ‘I am a project secure key’); if iRes <> 0 then begin << an error occurred >> ... end else begin << everything is fine, continue >> ... |
||||||||||||
See also |
Prepare, PrepareSimple, PrepareAdvanced, SysdateChanged, CheckSysdateChanged, Validate, Quit |
You have to set the SecurityLevel before you can use this command
Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.6/help2000/index.html?fr_prepareforce.htm