Skip to content

Commit 419d983

Browse files
authored
Update DbrBarcodeFileReader.cpp
1 parent 620fd59 commit 419d983

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

samples/C++/Performance/BatchDecode/DbrBarcodeFileReader.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,6 @@
1818

1919
CDbrBarcodeFileReader::CDbrBarcodeFileReader()
2020
{
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
30-
*/
31-
int errorCode = 0;
32-
char szErrorMsg[256];
33-
DM_DLSConnectionParameters paramters;
34-
dynamsoft::dbr::CBarcodeReader::InitDLSConnectionParameters(&paramters);
35-
paramters.organizationID = const_cast<char*>("200001"); // replace it with your organization ID
36-
errorCode = dynamsoft::dbr::CBarcodeReader::InitLicenseFromDLS(&paramters, szErrorMsg, 256);
37-
if (errorCode != DBR_OK)
38-
{
39-
cout << szErrorMsg << endl;
40-
}
41-
4221
m_pBarcodeReader = new dynamsoft::dbr::CBarcodeReader();
4322
}
4423

0 commit comments

Comments
 (0)