I'm experiencing some problems using the WLRegDisableKeyInCurrentInstance function. How should this work?

<< Click to Display Table of Contents >>

Navigation:  WinLicense > FAQ > Registration > Common >

I'm experiencing some problems using the WLRegDisableKeyInCurrentInstance function. How should this work?

If you call WLRegDisableKeyInCurrentInstance, the key will be ignored the next time that you restart your application. The application will go into trial mode and the application status will be "License disabled in current instance" (return value 15 when calling WLRegGetStatus).

 

If you go to the Customized Dialog panel, you will see the message MSG_ID_LICENSE_DISABLED_ON_INSTANCE. That's the message that will be displayed by WinLicense when your application restarts, at least that you select that message and set it to Disable (by right-clicking on it), so, your application will be launched normally and running in trial mode.