版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haimianjie2012/article/details/79663370
1.什么是动态链接?
2.动态链接库与静态链接库区别
3.动态链接库的使用
Configuration(Release)->Configuration Propertity ->C++ ->Preprocessor ->Preprocessor Definitions
在此处增加你想要的宏。在SDK动态库项目的Preprocessor Definitions添加MPTDLL。
#ifndef MPTDLL
#define MPTEXPORT __decspec(dllimport)
#else
#define MPTEXPORT __declspec(dllexport)
#endif