|
||
|
Search:
Advanced search
|
Browse by Category:
|
|
|||
WinLicense controls all trial/license events (expirations, licenses invalid, etc) by default. You can go to the Customized Dialog panel and for specific messages you can check the option "Display by SDK or not displayed". When you check that option, WinLicense will not show any messages and continue the execution of your application if that specific event occurs. So, you have to make sure that you are handling that message from your application by calling the WinLicense SDK functions (WLRegGetStatus, WLTrialGetStatus.) If you don't want to control each specific license event (license corrupted, locked to a different machine, license expired, etc), you just need to leave the option "Display By WinLicense" in the Customized Dialog panel for those specific license messages. So, WinLicense will display the license message error and exit execution. The option "Keep Trial Running" is just used as a hack to let WinLicense display the error message and continue execution of your application (running Trial mode after that). If you are checking the option "Keep Trial Running" you should check the status of your application (calling WLRegGetStatus) to control when your application is running with a not valid license. If you don't check the status of your application, your application will keep running even with a wrong license. Notice that we don't recommend using the option "Keep Trial Running" as if you plan to take full control of the Trial/Registration status in your application, you should take control of most Trial/Registration messages in the Customized Dialog panel (selecting "Display by SDK or not displayed" for those messages) and use the WinLicense SDK functions (WLRegGetStatus/WLTrialGetStatus) to know the current status of your application. |
|||
