Please use the /MD switch for _AFXDLL builds

http://www.cnblogs.com/zwh0214/p/6048360.html


MFC用静态库(general标签),CRT也就用静态库(C/C++->Catefory选为Code Generation)

NFC用动态链接,CRT就用动态链接
两者要一致

猜你喜欢

转载自blog.csdn.net/wxl1986622/article/details/74131863