Page 1 of 1

Limitation by days count issue

Posted: Fri Sep 29, 2017 12:24 am
by mcone
I can use your limitation by days count trial control in the sample program - but when I go to use the exact same feature in a larger program that I created, the EP_TrialDays(Total, Left) function returns false.

There are other functions that return false when they should turn true also - but only in the larger program I wrote.

Is there any way to test for a fix or overcome this issue?

Re: Limitation by days count issue

Posted: Fri Sep 29, 2017 7:37 am
by Enigma
Hi, this function returns zero also in case if the application is already registered with license key.

Use the function EP_RegLoadAndCheck key to check if the application is already registered.

And also, to reset the registration, open your project in Enigma Protector, go to main menu - Tools - Debug and click on Reset all local info.

Re: Limitation by days count issue

Posted: Mon Oct 02, 2017 2:16 pm
by mcone
Thank you. I will try that.

Also
And also, to reset the registration, open your project in Enigma Protector, go to main menu - Tools - Debug and click on Reset all local info.
I understand the English in this suggestion - but I would like to know exactly what resetting the registration does please (before I take this action).

Re: Limitation by days count issue

Posted: Mon Oct 02, 2017 3:22 pm
by mcone
Hi, this function returns zero also in case if the application is already registered with license key.
Ok - I have confirmed that, if there is no registration for the program, then I can get the number days remaining for the Trial Control.

However, after the registration with a day limit is in place, then how do I check for the remaining days using the API? For example, I want to warn my user that the days are approaching zero.

Currently, it appears that I cannot get to information after registration is complete.

Re: Limitation by days count issue

Posted: Mon Oct 02, 2017 3:23 pm
by mcone
And also, to reset the registration, open your project in Enigma Protector, go to main menu - Tools - Debug and click on Reset all local info.
I tried this, and nothing appeared to change in the Enigma project.

Re: Limitation by days count issue

Posted: Mon Oct 02, 2017 3:51 pm
by mcone
I delete the registration file and this is what my program reports (it appears to be correct):
Image

I register and this what my program reports:
Image

Should not it say "2" days remaining?

Re: Limitation by days count issue

Posted: Tue Oct 03, 2017 11:03 am
by Enigma
mcone wrote:Should not it say "2" days remaining?
No, the trial counter stops to work when application is registered.