在编译VC++应用程序时,如果报告很多如下的错误:
stdafx.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
stdafx.obj : error LNK2001: unresolved external symbol __RTC_InitBase
error LNK2001: unresolved external symbol ___security_cookie
error LNK2001: unresolved external symbol ___CxxFrameHandler3
error LNK2001: unresolved external symbol @__security_check_cookie@4
error LNK2001: unresolved external symbol __CrtDbgReportW
error LNK2001: unresolved external symbol _memcpy_s
等等诸如此类的错误!
我的情况是因为在开发WDM Driver时把DDK目录加到了VS2005: Tools->Options->VC++ Directories下的相关目录最前面导致,取消DDK目录或将其移到最后面解决!
(在开发WDM时再加上并移到最前面!)