Trials are time based *not* usage based. And our examples and documentation tell you to use TA_UseTrial() every time you run your app if you're using trials. Use TA_TrialDaysRemaining() to get the trial days remaining.
Hi Team,
I am implementing verified trials to my application.
I am calling the function TA_UseTrial(handle, flags, NULL), but this is always returning 0(TA_OK), even the trial period expired.
This is the expected behavior ?, I want to restrict the trials more than once.
How can I do that ?
Kindly let me know.
Thanks,Mallikarjuna.
Trials are time based *not* usage based. And our examples and documentation tell you to use TA_UseTrial() every time you run your app if you're using trials. Use TA_TrialDaysRemaining() to get the trial days remaining.
Thanks for your reply!!
The TA_UseTrial() returing 0 after Trial period expired.... is this correct ?
And for TA_TrialDaysRemaining(taHandle, trialFlags, &trialDays), the 3rd argument is a POINTER ? if so, is there any alternate data type support for the 3rd argument.
Since, Pascal won't have pointer support, I am sending an Integer argument and the function returns 1 always.
How to solve this ?
Kindly let me know.
Thanks,Mallikarjuna
>> "The TA_UseTrial() returing 0 after Trial period expired.... is this correct ?"
Nope. Use the function I said in the previous post to get the trial days remaining.
TA_UseTrial() and all the other TurboActivate functions, return TA_OK, TA_FAIL, or one of the other many error codes. See TurboActivate.h for all error codes and a description of what each function does.
>> "And for TA_TrialDaysRemaining(taHandle, trialFlags, &trialDays), the 3rd argument is a POINTER ?"
Pascal *does* support pointers. See the Delphi example (Delphi is Pascal).