Hey Wyatt,
Thanks for the response. Here's some code I've got in my app's "activation" method. I basically copied and pasted the if statement from Example.c
printf("\nThe result from the UI is %s", result.c_str()); hr = CheckAndSavePKey(_T(result.c_str()), TA_USER); if (hr == TA_OK) { printf("\nProduct key saved successfully.\n"); // try to activate hr = Activate(); if (hr == TA_OK) printf("\nActivated successfully\n"); else printf("\nActivation failed: hr = %d\n", hr); } else printf("\nProduct key failed to save: hr = %i\n", hr);
I'm always seeing "Product key failed to save: hr = 8" in my console. Do you know what 8 refers to here? I know that TurboActivate.h has the error codes for type HRESULT. My thought is the issue could be one of two (from the header file):
The version GUID doesn't match that of the product details file.The product details file "TurboActivate.dat" failed to load.
Is it either one of those?
Thanks,Arie