step1. Download / Unblock / Unzip LXDeviceAPI
step1.2 Unblock the zip file
Before unzip, unblock the zip file should be taken. Click the downloaded zip file by right mouse and click the Properties (red box following left image). Check Unblock and then click OK.
After unzip, you can see the files and folder as following.
step2. Copy files to your project folder
||copy to the same folder which contains your application exe file.|
||copy to your application project’s source folder.|
step3. Importing DLL
In your Visual C++ source file, add the codes for implicit linking the library and include the LXDeviceAPI.h
#pragma comment(lib,"LXDeviceAPI.lib") // DLL implicit linking #include "LXDeviceAPI.h"
That’s all, now it’s ready to use all functions and message from LXDeviceAPI.