ALLOW_NOEXPIRE default Log Out | Topics | Search
Moderators | Edit Profile

WAK Productions Support » TRegware » ALLOW_NOEXPIRE default « Previous Next »

Author Message
Oliver Bock
Posted on Tuesday, November 16, 2004 - 7:17 pm:   

I had to debug demo1 to work out why non-expiring licenses were not working. It is because ALLOW_NOEXPIRE is not defined in the distributed copy of reg400_opts.pas.

While I think it is sensible to allow developers to change this option, it is confusing to distribute demo1.exe with options that do not work. I suggest that you either:

- Define ALLOW_NOEXPIRE by default, and/or

- Disable the 'no expiration' radio button in demo1.exe when ALLOW_NOEXPIRE is not defined, and add a label explaining why it is disabled.
twistedvoid
Posted on Saturday, December 25, 2004 - 7:22 pm:   

I agree 100 percent Oliver. Took me over an hour to figure out why I could generate codes in perl, generate identical codes in demo1 and plug them into my program or plug them back into demo1 and not have them work. Winston. DEFINE ALLOW_NOEXPIRE! Or at the least, put it in your documentation that this is turned off so that those of us using noexpire won't be beating our heads with mallets trying to get this thing to work.
Justin Savidge
Posted on Thursday, January 20, 2005 - 11:43 am:   

OK, sorry to be a nag, but I am really not getting the gist of fixing this.
Can someone please write up step by step on how to fix the problem so Demo1.exe will properly date unlimited time codes?
twistedvoid
Posted on Wednesday, March 16, 2005 - 9:56 am:   

Ok, I'm probably too late to help you and it seems ole Winston doesn't give a damn any more, but... here's the fix.

In Reg400_opts.pas you'll see this
{$UNDEF ALLOW_NOEXPIRE}
change it to
{$DEFINE ALLOW_NOEXPIRE}

This will allow your programs to have no expiration date and accept the reg codes.

In Demo 1, the generate code tab works properly when you click on noexpire. So does the perl script. The Test Registration code doesn't work because you can't set it to no expire or plug in a date. Instead, you'll have to generate your code then test the expiration date on it. If It says 12/30/1899, it's a valid no-expire code.
twistedvoid
Posted on Wednesday, March 16, 2005 - 10:13 am:   

Oh, I was wrong. If you make that change above, then recompile Demo1, Test Code will properly show a registration days left of -1

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration