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?
TrialDaysLeft variable in Registration Dialog
Re: TrialDaysLeft variable in Registration Dialog
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.
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.