Integrating offline activation into our product

Hey there,

I am attempting to integrate offline activation into our product, whenever I make the call to GenerateOfflineActivationRequest()
it fails with the error code 6. Can you think of a reason for this?

Prior to calling the offending function I have called SetProductFile(),
SetVersionGUID() and IsProductGenuine(), all completing with the
expected return codes.

Generating offline activation request is equivalent to calling
ActivateProduct() function partially. So you need to set the product key
first. As mentioned in the header file error code 6:

`/*
    CODE: LA_E_PKEY

    MESSAGE: Invalid product key.
*/`

``` `#define LA_E_PKEY ((HRESULT)0x00000006L)` ```