Verifiction failure question

Hi,

I have been testing the code prior to implementation, I have a small question I would like to clear.

I am using the Delphi example with the following modification,

Updating to the correct GUID. IsGenuine(90,14,true) is called as in the sample.I added a messagebox to show me if an internet error occured (if gr = InternetError)

I activate the license online. Everthing is okay.

Then I quit the app. Disconnect internetRoll the date on the system about 6 months forward. Run the appI get my messagebox telling me that an internet error occured and the system tells me the trial has expired. This is expected okay because it tried to verify the license since 90 days have passed right?I quit the appReconnect the internetRun the appThe app shows trial expired and disables the features.

Why is that? Shouldn't the call to IsGenuine when I rerun the app verify the license and enable the features?I would appreciate your thoughts.

We need to make this clearer in the example code. What you're getting is "InternetError Delayed". Meaning you had an InternetError and IsGenuineEx won't retry contacting LimeLM for another 5 hours. Hence the comment explaining that you need to give the option to retry immediately:

//TODO: give the user the option to retry the genuine checking immediately // For example a dialog box. In the dialog call IsGenuine() to retry immediately

This is designed so that end-users won't hammer the network.

Got it. Thank you. It didn't mention it would retry after 5 hours.