You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/C++/GeneralSettings/GeneralSettings.cpp
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -26,20 +26,10 @@ int main()
26
26
PublicRuntimeSettings settings;
27
27
TextResultArray* barcodeResults = NULL;
28
28
29
-
// 1. Initialize license
30
-
/*
31
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
32
-
// Note that network connection is required for this license to work.
33
-
//
34
-
// When using your own license, locate the following line and specify your Organization ID.
35
-
// organizationID = "200001";
36
-
//
37
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
31
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/HelloWorld/HelloWorld.cpp
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,10 @@ int main()
25
25
char szErrorMsg[256];
26
26
TextResultArray* barcodeResults = NULL;
27
27
28
-
// 1. Initialize license
29
-
/*
30
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
31
-
// Note that network connection is required for this license to work.
32
-
//
33
-
// When using your own license, locate the following line and specify your Organization ID.
34
-
// organizationID = "200001";
35
-
//
36
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
30
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/Performance/AccuracyFirstSettings/AccuracyFirstSettings.cpp
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -84,20 +84,10 @@ int main() {
84
84
int errorCode = 0;
85
85
char szErrorMsg[256];
86
86
TextResultArray* barcodeResults = NULL;
87
-
// Initialize license
88
-
/*
89
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
90
-
// Note that network connection is required for this license to work.
91
-
//
92
-
// When using your own license, locate the following line and specify your Organization ID.
93
-
// organizationID = "200001";
94
-
//
95
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
89
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/Performance/BatchDecode/BatchDecode.cpp
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,16 @@ char *stdin_get_str(char *str, int len)
30
30
}
31
31
intmain(int argc, char* argv[])
32
32
{
33
-
33
+
char szErrorMsg[256];
34
+
// 1.Initialize license.
35
+
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
36
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
37
+
int errorCode = dynamsoft::dbr::CBarcodeReader::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", szErrorMsg, 256);
Copy file name to clipboardExpand all lines: samples/C++/Performance/BatchDecode/DbrBarcodeFileReader.cpp
-21Lines changed: 0 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -18,27 +18,6 @@
18
18
19
19
CDbrBarcodeFileReader::CDbrBarcodeFileReader()
20
20
{
21
-
// Initialize license
22
-
/*
23
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
24
-
// Note that network connection is required for this license to work.
25
-
//
26
-
// When using your own license, locate the following line and specify your Organization ID.
27
-
// organizationID = "200001";
28
-
//
29
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/Performance/ReadRateFirstSettings/ReadRateFirstSettings.cpp
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -126,20 +126,10 @@ int main() {
126
126
char szErrorMsg[256];
127
127
TextResultArray* barcodeResults = NULL;
128
128
129
-
// Initialize license
130
-
/*
131
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
132
-
// Note that network connection is required for this license to work.
133
-
//
134
-
// When using your own license, locate the following line and specify your Organization ID.
135
-
// organizationID = "200001";
136
-
//
137
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
131
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/Performance/SpeedFirstSettings/SpeedFirstSettings.cpp
+4-15Lines changed: 4 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -140,21 +140,10 @@ int main() {
140
140
char szErrorMsg[256];
141
141
TextResultArray* barcodeResults = NULL;
142
142
143
-
// Initialize license
144
-
/*
145
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
146
-
// Note that network connection is required for this license to work.
147
-
//
148
-
// When using your own license, locate the following line and specify your Organization ID.
149
-
// organizationID = "200001";
150
-
//
151
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
145
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C++/VideoDecoding/VideoDecoding.cpp
+4-15Lines changed: 4 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -80,22 +80,11 @@ int main()
80
80
}
81
81
82
82
int iRet = -1;
83
-
84
-
// Initialize license
85
-
/*
86
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
87
-
// Note that network connection is required for this license to work.
88
-
//
89
-
// When using your own license, locate the following line and specify your Organization ID.
90
-
// organizationID = "200001";
91
-
//
92
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
86
+
//If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C/GeneralSettings/GeneralSettings.c
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -26,20 +26,10 @@ void main()
26
26
TextResultArray*barcodeResults=NULL;
27
27
intindex;
28
28
29
-
// 1. Initialize license
30
-
/*
31
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
32
-
// Note that network connection is required for this license to work.
33
-
//
34
-
// When using your own license, locate the following line and specify your Organization ID.
35
-
// organizationID = "200001";
36
-
//
37
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
38
-
*/
39
-
DM_DLSConnectionParametersparamters;
40
-
DBR_InitDLSConnectionParameters(¶mters);
41
-
paramters.organizationID="200001"; // replace it with your organization ID
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
31
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
Copy file name to clipboardExpand all lines: samples/C/HelloWorld/HelloWorld.c
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,10 @@ void main()
25
25
TextResultArray*barcodeResults=NULL;
26
26
intindex;
27
27
28
-
// 1. Initialize license
29
-
/*
30
-
// By setting organization ID as "200001", a free public trial license will be used for license verification.
31
-
// Note that network connection is required for this license to work.
32
-
//
33
-
// When using your own license, locate the following line and specify your Organization ID.
34
-
// organizationID = "200001";
35
-
//
36
-
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
37
-
*/
38
-
DM_DLSConnectionParametersparamters;
39
-
DBR_InitDLSConnectionParameters(¶mters);
40
-
paramters.organizationID="200001"; // replace it with your organization ID
// The string "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" here is a free public trial license. Note that network connection is required for this license to work.
30
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=c_cpp
0 commit comments