- Get Started
- LPV Modules
- FAQ
- Contact & Support
DEMO code snippets are usually a single C++/C# source code with a main function body, demonstrating how some LPV functions are called. The code snippets files are located under demo/snippets folder.
To compile and run the DEMO code snippets, you should firstly create a Visual Studio project, then add or copy the code snippets file to the project. You may also modify some in the code like the image path to a true accessible path. Then, you may compile and run the project as usual. The algorithms' results are displayed via LDisplay control in the code snippets.
NOTE: The platform of DEMOs should be exactly the same as the LPV dlls you installed and registered.
NOTE: Please make sure the LPV dlls are registered and licensed before running the DEMOs.
Open Visual Studio, click File -> New -> Project in the menu, create the new Console App project as the following.
Remove the auto-generated .cpp file in the new project, right click the project and select Add -> Existing Item, browse to the code snippets file and add it to the project.
Alternatively, you may copy and paste the content of the code snippets to the auto-generated .cpp file in the new project.
Add include folder to the project's C++ include confuguration.
Modify the file paths in the code to be accessible, for example: