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; }