VS2015用MFC对话框程序引用dll工程运行出错 Debug Assertion Failed!
VS2015自己用MFC写了个全局钩子的dll然后在另一个对话框工程中引用该dll但是运行时出现如下错误
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!
Program: C:\Windows\SYSTEM32\mfc140d.dll
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\appcore.cpp
Line: 196
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
中止(A) 重试(R) 忽略(I)
---------------------------