改一下工程属性就行了,希望有用,
工程属性:(1)选择左上角的configuration->Active(Debug)
configuration properties->general->use of MFC,选择use MFC in a static library。
(2)左上角configuration-> debug
C/C++->code generation->runtime library->multi-threaded debug(/MTd)
(3)configuration->release
C/C++->code generation->runtime library->multi-threaded(/MT)