I have a user license for 6 months. After 6 months, it expires and the application can’t load. I would like to get it back to a trial version (some features are limited). How can I do that?

<< Click to Display Table of Contents >>

Navigation:  WinLicense > FAQ > Registration > Common >

I have a user license for 6 months. After 6 months, it expires and the application can’t load. I would like to get it back to a trial version (some features are limited). How can I do that?

If you want your application to continue running after the license expires, you have to tell WinLicense not to process the event/message when a license expires. For example, suppose that you have set “days expiration” in your license, so you want to tell WinLicense that when your license expires by “days” keep your application running in trial mode. To do so, please, follow the next steps:

 

Go to the “Customized Dialogs” panel and select the message “MSG_ID_LICENSE_DAYS_EXPIRED”

 

Right click on that message and select “Disable”. With this, you are telling WinLicense not to show that message and continue running your application

 

As WinLicense is now not handling the “license days expiration”, you might want to use the WinLicense SDK to know the status of your application, like calling WLRegGetStatus, so you know that you are on trial mode and do your proper actions in your application when running in trial

 

Follow the above steps if you want to disable other specific messages (like “license date expiration”, etc). Do not forget that for every message that you Disable, you have to keep control of it in your application by calling the WinLicense SDK. Some customers disable all messages and don’t use the SDK (to know if it’s expired, etc) and they later complain that their application keeps running when it’s expired.

 

More information about working with Customized Dialogs (and how to disable them) can be found here.