TA_UseTrial() is always returns false in latest windows 10 Pro OS

Hi Team,

I am using TA_UseTrial() from August 2017 for timed trials and is worked fine.

This is not working from few days on wards in Windows 10 Pro, but it is working fine in Windows7.

I am suspecting the windows OS update may be the reason.

Kindly let me know, how to fix this.

Thanks,Mallikarjuna.

TA_UseTrial() does not return bool values. It returns either TA_OK or another error code. My guess is that you're interpreting a TA_OK value as "false".

More information is needed including exactly what you're passing and and exactly which error code you're getting.

Also: Version of TA?

Yes, I am checking for TA_OK.

More Information:

TA version: 4.0.9.6

Code:

taHandle := TA_GetHandle(LIMELM_VERSION_GUID);

flag := TA_VERIFIED_TRIAL or TA_SYSTEM;

Email = "User Email"resp := TA_UseTrial(taHandle, flag, Email);

if (resp = TA_OK) then Result := True;else Result := False;end

It is always returns False.

This is working for new Product/Version created on LimeLM.

But not working for the existing product.

Kindly let me know, what is the issue with the existing product.

Thanks,Mallikarjuna

Just passing by, guess I'll help out...

You need to say what the result code is. That's the only way to know what the problem is, though I'm going to guess Hyper-v seeing as it's a Win10 host.