Skip to content

Commit 8e2081f

Browse files
update folder path
1 parent 50da157 commit 8e2081f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

programming/cplusplus/user-guide.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Let's start by creating a console application which demonstrates how to use the
5555

5656
- For Linux
5757

58-
Create a new source file named `DBRCPPSample.cpp` and place it into the folder `[INSTALLATION FOLDER]/Samples`.
58+
Create a new source file named `DBRCPPSample.cpp` and place it into the folder `[INSTALLATION FOLDER]/Dynamsoft/Samples`.
5959

6060
### Include the Library
6161

@@ -64,7 +64,7 @@ Add headers and libs in `DBRCPPSample.cpp`.
6464
```cpp
6565
#include <iostream>
6666
#include <string>
67-
#include "[INSTALLATION FOLDER]/Include/DynamsoftCaptureVisionRouter.h"
67+
#include "[INSTALLATION FOLDER]/Dynamsoft/Include/DynamsoftCaptureVisionRouter.h"
6868

6969
using namespace std;
7070
using namespace dynamsoft::license;
@@ -73,11 +73,11 @@ using namespace dynamsoft::dbr;
7373

7474
#if defined(_WIN64) || defined(_WIN32)
7575
#ifdef _WIN64
76-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftLicensex64.lib")
77-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftCaptureVisionRouterx64.lib")
76+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftLicensex64.lib")
77+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftCaptureVisionRouterx64.lib")
7878
#else
79-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftLicensex86.lib")
80-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftCaptureVisionRouterx86.lib")
79+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftLicensex86.lib")
80+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftCaptureVisionRouterx86.lib")
8181
#endif
8282
#endif
8383
```
@@ -104,7 +104,7 @@ CCaptureVisionRouter* cvr = new CCaptureVisionRouter;
104104
Decode barcodes from an image file.
105105

106106
```cpp
107-
string imageFile = "[INSTALLATION FOLDER]/Resources/BarcodeReader/Images/AllSupportedBarcodeTypes.png";
107+
string imageFile = "[INSTALLATION FOLDER]/Dynamsoft/Resources/BarcodeReader/Images/AllSupportedBarcodeTypes.png";
108108
CCapturedResult* result = cvr->Capture(imageFile.c_str(), CPresetTemplate::PT_READ_BARCODES);
109109
if (result->GetErrorCode() != 0) {
110110
cout << "Error: " << result->GetErrorCode() << "," << result->GetErrorString() << endl;
@@ -149,9 +149,9 @@ delete result, result = NULL;
149149

150150
2. Build the project to generate program `DBRCPPSample.exe`.
151151

152-
3. Copy **ALL** `*.dll` files under `[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64` to the same folder as the `DBRCPPSample.exe` ("[PROJECT FOLDER]\DBRCPPSample\x64\Release").
152+
3. Copy **ALL** `*.dll` files under `[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64` to the same folder as the `DBRCPPSample.exe` ("[PROJECT FOLDER]\DBRCPPSample\x64\Release").
153153

154-
4. Copy `[INSTALLATION FOLDER]/Distributables/DBR-PresetTemplates.json` to the same folder as the `DBRCPPSample.exe`.
154+
4. Copy `[INSTALLATION FOLDER]/Dynamsoft/Distributables/DBR-PresetTemplates.json` to the same folder as the `DBRCPPSample.exe`.
155155

156156
5. Run the program `DBRCPPSample.exe`.
157157

@@ -190,11 +190,11 @@ Include additional `DynamsoftUtility` and `DynamsoftCore` module.
190190
// Add the following lines
191191
using namespace dynamsoft::utility;
192192
#ifdef _WIN64
193-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftCorex64.lib")
194-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftUtilityx64.lib")
193+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftCorex64.lib")
194+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftUtilityx64.lib")
195195
#else
196-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftCorex86.lib")
197-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftUtilityx86.lib")
196+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftCorex86.lib")
197+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftUtilityx86.lib")
198198
#endif
199199
```
200200

0 commit comments

Comments
 (0)