我在编译release版本时总出现如下错误,如何修正啊?
Pjc.obj : error LNK2001: unresolved external symbol __imp__MakeSureDirectoryPathExists@4
Pjc.obj : error LNK2001: unresolved external symbol __imp__MakeSureDirectoryPathExists@4
调试欢乐多
但是没有引用Dbghelp.lib
在你的Release设置的Link选项卡中增加这个库
或者在#include <Dbghelp.h>后面加上
#pragram comment(lib, "Dbghelp.lib")
如果是从库中导入的就把库加到工程里面