You need to provide a lot more information. Starting with what programming language you're using. We have articles for a bunch of different languages and they come with example projects showing how to use TurboActivate.
After replacing an existing TurboActivate.dll file with a newer version where do I locate the new TurboActivate.VersionGUID?
ThanksQ
You need to provide a lot more information. Starting with what programming language you're using. We have articles for a bunch of different languages and they come with example projects showing how to use TurboActivate.
Okay it turns out the correct GUID is being used as most of the license methods work, however, the C# code below is returning t = 16 instead of 0 during a call to TurboActivate.UseTrial();
public static void UseTrial() { var t = Native.UseTrial(VersionGUID); switch (Native.UseTrial(VersionGUID)) { case 7: // TA_E_GUID throw new GUIDMismatchException(); case 8: // TA_E_PDETS throw new ProductDetailsException(); case 0: // successful return; default: throw new GeneralTurboActivateException("Failed to save the trial data."); } }
Any ideas why this might be the case? No new users are able to get the trial.
You need to update the TurboActivate C# integration files (so, TurboActivate.cs) in your application, rebuild your app, and include the latest TurboActivate.dll (and TurboActivate.exe if you're using that too). Then release the whole application (rebuilt app and the latest TurboActivate files) to your customers.
Okay that now gives a few days trial but it now throws error "Failed to get feature value. The feature doesn't exist."
when calling
GetUpdatesExpires = DateTime.Parse(TurboActivate.GetFeatureValue("updates"), culture_GB);
public static string GetFeatureValue(string featureName) { string value = GetFeatureValue(featureName, null);
if (value == null) throw new TurboActivateException("Failed to get feature value. The feature doesn't exist.");
return value; }
Does this mean a trial user needs to be setup to allow updates from within the website? Bearing in mind nothing has changed at all except replacing the dll and cs files only.
Are you activated? What does IsActivated() return? My guess is you're not activated OR the product key that you are activated with doesn't have the custom license field value set.