dll与exe的联合调试-----------(一)

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


然后启动调试

猜你喜欢

转载自blog.csdn.net/dong1528313271/article/details/80756347