Universal Windows Platform

Hello,

I am looking to integrate TurboActivate with a C++ Microsoft Windows UWP application. I have successfully ran the example Example.c and integrated the code into my UWP however the return code is always 0x00000003 for TA_IsGenuineEX. Running the exact code with my Version GUID and dat file from the example results TA_OK. I suspect the sandbox nature of UWP is preventing a successful activation.

Any ideas?

TurboActivate.h gives a full list of error codes and what they mean:

/* MessageId: TA_E_ACTIVATE Message code (in Hex): 0x3 Message code (in Decimal): 3

MessageText:

The product needs to be activated.*/#define TA_E_ACTIVATE ((HRESULT)0x00000003L)

So, activate first.

Hey Wyatt,

TA_CheckAndSavePKey returns with TA_SYSTEM i get 0xF. With the TA_USER flag I do get the successful TA_OK. However TA_Activate returns 0xB. I checked WMI Control and it appears good, and since the Example activates I would assume all is well with WMI.

MessageId: TA_E_COM Message code (in Hex): 0xB Message code (in Decimal): 11

MessageText:

I threw together an example UWP C++ solution with turbo activate. That way you could review it with a debugger.

Link:https://drive.google.com/open?id=1_9WQhCNRnaeu2tvoohXVSu5EsPXiXNOZ

FYI- Pressing the A key will attempt the activation sequence.

We've been digging into it more. TurboActivate, TurboFloat, and TurboFloat Server cannot support Universal Windows Platform (UWP) -- i.e. their new sandbox mode -- because of our use of WMI.

If / when Microsoft makes WMI accessible via UWP apps then we will be able to support it.

Of course, the solution is to not limit yourself to UWP APIs. TurboActivate, TurboFloat, and TurboFloat Server support every version of Windows using the regular APIs.

See: https://wyday.com/limelm/help/using-turboactivate/#requirements

Thank you for digging into this Wyatt! I suspected that was the issue... It would be slick if the activation allowed manual pairing keys to be generated. I understand why your using WMI, however I doubt 99% of our customers wouldn't be able to crack a MAC address pairing.

Incase you run into this in the future, I was successful at utilizing the DesktopBridgeToUWP-https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/AppServiceBridgeSample_C%2B%2BI can run your TurboActivation library's outside of the UWP sandbox and handshake back the activation. However the rescap Capability runFullTrust voids several other capability functions I require.