Integrate the SDK
Last updated:2023-04-07 18:17
1 Preparation environment
Please ensure that the development environment meets the following technical requirements:
- Visual Studio 2015 and higher.
- Windows7, Windows8, Windows10.
- External devices that support audio functions such as microphones and cameras.
2 Create project
- Open Microsoft Visual Studio and click Create new project.
- On the New Project panel, choose MFC Application as the project type, input the project name, choose the project location, and click OK.
- On the MFC Application panel, choose Application type > Dialog based, and click Finish.
3 Integrated SDK
3.1 Download SDK
Please download Zego Express SDK, unzip and copy to your project files. The SDK contains two directories, each of which contains the following files.
include --------------- contains SDK header files
lib ---------------- contains the .lib and .dll files
| x86 ------------- 32-bit version
| x64 ------------- 64-bit version
3.2 Project Settings
Right-click the project name in the Solution Explorer window, click Properties to configure the following project properties, and click OK.
- C/C++ -> General-> Add include directory in Additional include Directories
Adding the libs directory to the library search path
- Linker-> General-> Add lib/x86 or lib/x64 in the Additional Library Directories
Specify the link library ZegoExpressEngine.lib
- Linker-> Input-> Add ZegoExpressEngine.lib in Additional Dependencies
After integrating the SDK, you can use the ZEGO SDK to complete the following functions in order to achieve the basic call or live broadcast.