dll原理啥的放到别的博客章节吧,这里说说配置就行了
1.最好把dll和exe输出到统一目录,(方便)
.lib .pdb文件不可缺少(内涵符号链接等调试信息)
2.exe正常引用dll(这里说隐式的):
#ifndef DEBUGDLL_H_
#define DEBUGDLL_H_
#include"./../dll/export.h"
#pragma comment(lib,"./../Debug/dll.lib")
#endif
3.关联dll和exe
ok
然后启动调试