TA_Activate returns 36 on WindowsSolved

Hi,

A client is trying to activate our software on Windows, but he reports an error nr 36, which is not one of the expected error codes for TA_Activate... It seems to work for other clients.

Any help would be highly appreciated.

Here is my code (error code 36 is returned by TA_Activate, at the end):

HRESULT hr = TA_CheckAndSavePKey(taHandle, productKey.toUTF16(), TA_SYSTEM);

if (hr != TA_OK) { AlertWindow::showMessageBox(AlertWindow::WarningIcon, "Authorisation Error", "Unable to validate this product key (" + String(hr) + ")"); return false; }

hr = TA_Activate(taHandle, 0);

if (hr != TA_OK) { AlertWindow::showMessageBox(AlertWindow::WarningIcon, "Authorisation Error", "Unable to activate with this product key (" + String(hr) + ")"); return false; }

Open TurboActivate.h for all error codes. If you don't see error code 36, that's because you didn't upgrade to the latest version properly:

https://wyday.com/limelm/help/faq/#latest-libs

Also, use the latest TA. We're always fixing bugs, on in the case of error code 36 (again, see TurboActivate.h for the full description) we work around bad customer configurations.

https://wyday.com/limelm/api/ta-changes/

Ah Ok. Thanks for the quick reply!