Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Cannot activate license for Windows RT

More
IP: 192.168.0.71 11 years 10 months ago #6595 by ppanda15
Hi,

I purchased a license for Windows Phone 8. I found in help file that the license should be registered after submitting the app to Microsoft because Microsoft will generate and re-assign the product ID after the app is submitted. My company's app was already submitted to Microsoft a year a ago. This is the second version which we start using your library. So I registered the license by using product ID which is generated by Microsoft (go to developer account and so on, as suggested in help file). After I got the key, I used that key to activate the standard version, using:

PDFGlobal.ActiveLicense(3, "<company name>", "<email>", "<key>");

We are developing app by using C#.
Then I changed the product ID in WMAppManifest.xml to be the same as the one which generated by Microsoft. However, the watermark still be there. What should I do?

PS. Sorry for my English.
More
IP: 192.168.0.71 11 years 10 months ago #6596 by radaee
you shall use PDFGlobal.ActiveLicense(1, "<company name>", "<email>", "<key>");
to active standard license.

PDFGlobal.ActiveLicense(2, "<company name>", "<email>", "<key>"); active professional license.

PDFGlobal.ActiveLicense(3, "<company name>", "<email>", "<key>"); active premium license.
More
IP: 192.168.0.71 11 years 10 months ago #6597 by ppanda15
I tried it already, but watermark still appear.
More
IP: 192.168.0.71 11 years 10 months ago #6598 by radaee
i means you applied a standard license and active a premium license?
it must failed.
More
IP: 192.168.0.71 11 years 10 months ago #6599 by ppanda15
Thanks for your reply.

I saw in PDFCore.h, ActiveLicense will call other 3 methods depend on type, right?

In the code, it said:

case 1: activeProfessional
case 2: activePremium
default: activeStandard

On this case, what number should I use for type? That's why I use 3 for type.

However, if activation fails one time, can't I activate it anymore?

If I can re activate it, I already tried 1, 2, and 3, but watermark still appear.
More
IP: 192.168.0.71 11 years 10 months ago - 11 years 10 months ago #6600 by radaee
sorry, i take a mistake.
you are right, 3 is standard license.
en...
what the debug project product ID?
is it {96D76A32-2CC8-4C37-9F7E-D9DEA785F755} ?
i suspect that you are debuging project with product ID, different with the product ID that applied.
if same, you can check other fields such like company and mail fields. is it same to license applied?
it is case sensitive.
Last edit: 11 years 10 months ago by .
Time to create page: 0.542 seconds
Powered by Kunena Forum