Create a New Project

After ensuring that the system environment meets the requirements for integration, you can refer to the following instructions to create a new project using the SDK. The instructions take .NET (Visual Studio 2019) as an example:

  1. Create a new project

    Open Visual Studio 2019, if you are to create a new project for the first time, please click on File ‣ New Project from the upper left corner, and on the Create New Project page, click Windows Desktop Wizard to create a Windows application.

    ../../../_images/add_project.png
    ../../../_images/configure_new_project.png
  2. Configure the new project

    Select .NET Framework 4.6.1 (4.6.1 and above are supported).

    ../../../_images/configuration_properties.png
  3. Configure project properties

    Right-click the new project name in the right project bar, and select Properties ‣ Build ‣ x64 for the target platform. You can also add the x64 active solutions platform via the configuration manager.

    ../../../_images/configuration.png
  4. Add referencing

    Right-click on Reference in the project section and select Add reference, click on Browse in the pop-up window, check the file mmind_dl_sdk_csharp.dll under the run time folder, and click on OK. If the file already exists in the window, select it directly.

    ../../../_images/copy.png
  5. Build solution

    Click on Build ‣ Build Solution on the menu at the top to generate an executable file.

    ../../../_images/build_solution.png

    Copy all the DLL files in the run_time under the SDK folder to the exe directory. Then, you can find the exe directory path in the red box in the figure below.

    ../../../_images/exe_path.png
  6. Start integration

    You can refer to the code of the example project or API Reference Guide to complete subsequent integrations.