Barcode Xpress for ActiveX v13.9 - Updated
Upgrading Runtime Licensing
Developer Guide > Licensing and Distributing > Upgrading Runtime Licensing

This section describes how to upgrade to Accusoft’s new Runtime Licensing.

Prior to Barcode Xpress 8, runtime licensing was accomplished using the UnlockRuntime method.

In Barcode Xpress 8 and later, the default licensing model is Automatically Reported Runtime Licensing. However, based on your contracted usage of this software, you may be eligible for Manually Reported Runtime Licensing. Your Accusoft Sales Representative (sales@accusoft.com) can help you determine which model is appropriate.

Refer to the following sections for information about upgrading to the new Runtime Licensing models:

Changing to the Automatically Reported Runtime Licensing

Automatically Reported Runtime Licensing requires a license to be installed on the end-user's machine. See the Licensing and Distributing section for more information.

In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.

C++
Copy Code
 barcodeXpress1->UnlockRuntime(12345,12345,12345,12345);
JavaScript
Copy Code
BarcodeXpress1.UnlockWeb("ServerLicenseString…");

In your Barcode Xpress 8 or later codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName and SetSolutionKey methods.

C++
Copy Code
 barcodeXpress1->SetSolutionName("YourSolutionName");
 barcodeXpress1->SetSolutionKey(12345,12345,12345,12345);
JavaScript
Copy Code
BarcodeXpress1.SetSolutionName("YourSolutionName");
BarcodeXpress1.SetSolutionKey(12345,12345,12345,12345);

Changing to the Manually Reported Runtime Licensing

In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.

C++
Copy Code
barcodeXpress1->UnlockRuntime(12345,12345,12345,12345);
JavaScript
Copy Code
BarcodeXpress1.UnlockWeb("ServerLicenseString…");

In your Barcode Xpress 8 or later codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName, SetSolutionKey, and SetOEMLicenseKey methods.

C++
Copy Code
barcodeXpress1->SetSolutionName("YourSolutionName");
barcodeXpress1->SetSolutionKey(12345,12345,12345,12345);
barcodeXpress1->SetOEMLicenseKey("1.0.AStringForOEMLicensing…");
JavaScript
Copy Code
BarcodeXpress1.SetSolutionName("YourSolutionName");
BarcodeXpress1.SetSolutionKey(12345,12345,12345,12345);
BarcodeXpress1.SetOEMLicenseKey("2.0.AStringForOEMLicensing…");

There is no longer a separate method for web licensing. That functionality has been integrated into the SetOEMLicenseKey method. 

If you encounter any porting issues, please contact support@accusoft.com for assistance.

Is this page helpful?
Yes No
Thanks for your feedback.