From 1cc85cb5c1c8754debcc8d3354d17d248938a66c Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 27 Aug 2026 13:50:53 +0800 Subject: [PATCH 1/4] update sample code for license error --- programming/cplusplus/user-guide.md | 11 ++++++++++- programming/dotnet/user-guide.md | 2 +- programming/java/user-guide.md | 5 ++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/programming/cplusplus/user-guide.md b/programming/cplusplus/user-guide.md index 09bb280..b7ba1fa 100644 --- a/programming/cplusplus/user-guide.md +++ b/programming/cplusplus/user-guide.md @@ -102,8 +102,17 @@ using namespace dynamsoft::dbr; #### Initialize the License Key ```cpp +int errorCode = 1; char errorMsg[512]; -CLicenseManager::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", errorMsg, 512); +errorCode = CLicenseManager::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", errorMsg, 512); +if (errorCode != ErrorCode::EC_OK && errorCode != ErrorCode::EC_LICENSE_WARNING) +{ + cout << "License initialization failed: ErrorCode: " << errorCode << ", ErrorString: " << errorMsg << endl; +} +else +{ + // codes from following steps +} ``` > The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work. Alternatively, you can request a 30-day **offline** free trial license from the Customer Portal. diff --git a/programming/dotnet/user-guide.md b/programming/dotnet/user-guide.md index f58c4f2..a275d59 100644 --- a/programming/dotnet/user-guide.md +++ b/programming/dotnet/user-guide.md @@ -83,7 +83,7 @@ Open the `Program.cs` file and add the following code inside the `Main` method t int errorCode = 1; string errorMsg; errorCode = LicenseManager.InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", out errorMsg); -if (errorCode != (int)EnumErrorCode.EC_OK && errorCode != (int)EnumErrorCode.EC_LICENSE_CACHE_USED) +if (errorCode != (int)EnumErrorCode.EC_OK && errorCode != (int)EnumErrorCode.EC_LICENSE_WARNING) Console.WriteLine("License initialization error: " + errorMsg); ``` diff --git a/programming/java/user-guide.md b/programming/java/user-guide.md index c06f2ee..9bf48ba 100644 --- a/programming/java/user-guide.md +++ b/programming/java/user-guide.md @@ -102,9 +102,8 @@ public class ReadAnImage { public static void main(String[] args) { try { LicenseError licenseError = LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"); - if (licenseError.getErrorCode() != EnumErrorCode.EC_OK) { - System.out.println("License initialization failed: ErrorCode: " + licenseError.getErrorCode() + ", ErrorString: " + licenseError.getErrorString()); - return; + if (licenseError.getErrorCode() == EnumErrorCode.EC_LICENSE_WARNING) { + System.out.println("License initialization warning: " + licenseError.getErrorString()); } } catch (LicenseException e) { System.out.println("License initialization failed: ErrorCode: " + e.getErrorCode() + ", ErrorString: " + e.getErrorString()); From 650aec728b3ea9433c13a6fd85280c5c96e72a56 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 9 Sep 2026 16:27:07 +0800 Subject: [PATCH 2/4] link .md in llms.txt --- llms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llms.txt b/llms.txt index 7a24c52..bd2d359 100644 --- a/llms.txt +++ b/llms.txt @@ -42,7 +42,7 @@ This documentation covers Dynamsoft Barcode Reader SDK v11.x. It defines the Bar ## Pages -{% for article in site.pages %}{% if article.title %}- [{{article.title}}](https://www.dynamsoft.com{{ article.url | relative_url }}): {{ article.description }}{% endif %} +{% for article in site.pages %}{% if article.title %}- [{{article.title}}](https://www.dynamsoft.com{{ article.url | relative_url | replace: '.html', '.md' }}): {{ article.description }}{% endif %} {% endfor %} ## Samples From 37aab97ed7bc4b67ad673dba0272398993c8d578 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 10 Sep 2026 13:29:56 +0800 Subject: [PATCH 3/4] fix link --- programming/dotnet/api-reference/decoded-barcodes-result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programming/dotnet/api-reference/decoded-barcodes-result.md b/programming/dotnet/api-reference/decoded-barcodes-result.md index 2fec12e..d828818 100644 --- a/programming/dotnet/api-reference/decoded-barcodes-result.md +++ b/programming/dotnet/api-reference/decoded-barcodes-result.md @@ -12,7 +12,7 @@ The `DecodedBarcodesResult` class represents the result of a barcode reading pro *Namespace:* Dynamsoft.DBR -*Inheritance:* [CapturedResultBase]({{ site.dcv_dotnet_api }}core/basic-classes/captured-result-base.html) -> DecodedBarcodesResult +*Inheritance:* [CapturedResultBase]({{ site.dcvb_dotnet_api }}core/basic-classes/captured-result-base.html) -> DecodedBarcodesResult ```csharp public class DecodedBarcodesResult : CapturedResultBase, IEnumerable From 02c3973887957a677af8465178f05cc305401b36 Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 14 Sep 2026 17:20:22 +0800 Subject: [PATCH 4/4] deprecate parameters/file, using reference --- .../sidelist-parameters-organization.html | 34 +++++++++---------- programming/cplusplus/index.md | 2 +- programming/dotnet/index.md | 2 +- programming/java/index.md | 2 +- programming/python/index.md | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/_includes/sidelist-programming/sidelist-parameters-organization.html b/_includes/sidelist-programming/sidelist-parameters-organization.html index d714fb7..11bec23 100644 --- a/_includes/sidelist-programming/sidelist-parameters-organization.html +++ b/_includes/sidelist-programming/sidelist-parameters-organization.html @@ -1,6 +1,6 @@ -
  • Parameters +
  • Parameters diff --git a/programming/cplusplus/index.md b/programming/cplusplus/index.md index 4ae3219..4724970 100644 --- a/programming/cplusplus/index.md +++ b/programming/cplusplus/index.md @@ -15,7 +15,7 @@ In addition, DBR C++ Edition provides cross-platform support, running on multipl As one of the functional products of the Dynamsoft Capture Vision (DCV) framework, DBR is also designed to seamlessly integrate with other DCV components and provide developers with a comprehensive set of image processing tools, which cover image capturing, content understanding, result parsing, and interactive workflow. If you are building such a capturing and processing solution, take a look at [Introduction to Dynamsoft Capture Vision]({{ site.dcvb_architecture }}). -Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters }}file/index.html) for details. +Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters_reference }}index.html) for details. ## Getting Started with DBR C++ Edition diff --git a/programming/dotnet/index.md b/programming/dotnet/index.md index 1d45f9b..a9dc604 100644 --- a/programming/dotnet/index.md +++ b/programming/dotnet/index.md @@ -13,7 +13,7 @@ Leveraging the efficiency and flexibility of the .NET language, DBR .NET Edition As one of the functional products of the Dynamsoft Capture Vision (DCV) framework, DBR is also designed to seamlessly integrate with other DCV components and provide developers with a comprehensive set of image processing tools, which cover image capturing, content understanding, result parsing, and interactive workflow. If you are building such a capturing and processing solution, take a look at [Introduction to Dynamsoft Capture Vision]({{ site.dcvb_architecture }}). -Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters }}file/index.html) for details. +Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters_reference }}index.html) for details. ## Getting Started with DBR .NET Edition diff --git a/programming/java/index.md b/programming/java/index.md index f96604a..e74d6ef 100644 --- a/programming/java/index.md +++ b/programming/java/index.md @@ -13,7 +13,7 @@ Leveraging the efficiency and flexibility of the java language, DBR Java Edition As one of the functional products of the Dynamsoft Capture Vision (DCV) framework, DBR is also designed to seamlessly integrate with other DCV components and provide developers with a comprehensive set of image processing tools, which cover image capturing, content understanding, result parsing, and interactive workflow. If you are building such a capturing and processing solution, take a look at [Introduction to Dynamsoft Capture Vision]({{ site.dcvb_architecture }}). -Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters }}file/index.html) for details. +Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters_reference }}index.html) for details. ## Getting Started with DBR Java Edition diff --git a/programming/python/index.md b/programming/python/index.md index 6144a46..ec5795f 100644 --- a/programming/python/index.md +++ b/programming/python/index.md @@ -13,7 +13,7 @@ Leveraging the efficiency and flexibility of the python language, DBR Python Edi As one of the functional products of the Dynamsoft Capture Vision (DCV) framework, DBR is also designed to seamlessly integrate with other DCV components and provide developers with a comprehensive set of image processing tools, which cover image capturing, content understanding, result parsing, and interactive workflow. If you are building such a capturing and processing solution, take a look at [Introduction to Dynamsoft Capture Vision]({{ site.dcvb_architecture }}). -Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters }}file/index.html) for details. +Furthermore, DBR provides a powerful parameter system in order to cope with various scenarios. Read [Parameters]({{ site.dcvb_parameters_reference }}index.html) for details. ## Getting Started with DBR Python Edition