Skip to content

Commit d221ad0

Browse files
authored
Update GeneralSettings.c
1 parent be7b72e commit d221ad0

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

samples/C/GeneralSettings/GeneralSettings.c

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,10 @@ void main()
2626
TextResultArray* barcodeResults = NULL;
2727
int index;
2828

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_DLSConnectionParameters paramters;
40-
DBR_InitDLSConnectionParameters(&paramters);
41-
paramters.organizationID = "200001"; // replace it with your organization ID
42-
errorCode = DBR_InitLicenseFromDLS(&paramters, szErrorMsg, 256);
29+
// 1.Initialize license.
30+
// 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
32+
errorCode = DLR_InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", szErrorMsg, 256);
4333
if (errorCode != DBR_OK)
4434
{
4535
printf("%s\r\n", szErrorMsg);

0 commit comments

Comments
 (0)