TrialDaysLeft variable in Registration Dialog

Post here messages if you have any problems with working of Enigma Protector
Post Reply
dwilbourn
Posts: 14
Joined: Wed Jul 01, 2009 10:11 am

TrialDaysLeft variable in Registration Dialog

Post by dwilbourn »

I am using a customised Registration Dialog. I have a label with the %TrialDaysLeft% variable in it but when I run the protected program the label just shows '0'. When I use the EP_TrialDays() function within the program I get a different (correct) value. As a test I also put a label with %TrialDaysTotal% on the dialog and that does show the correct value.

Do you have any ideas why the %TrialDaysLeft% variable is not returning the correct value?
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: TrialDaysLeft variable in Registration Dialog

Post by Enigma »

Hi David,

Unfortunately, it is known problem.

Because you enable the option Registration Features - Registration Dialog - Show If Unregistered, Enigma just check the registration status and then shows a dialog. Trial initialization is kept after this check. So trial settings are not yet initialized but dialog already shown.

Please try to find a workaround yet, I will place this issue in todo list and hope it will be solved in next version.
Post Reply