'AfxEnableControlContainer' : undeclared identifier和"Can't build MFC OLE projects using static MFC

1.'AfxEnableControlContainer' : undeclared identifier请在StdAfx.h中添加: #include   <Afxdisp.h>

2."Can't build MFC OLE projects using static MFC libraries." 在Setting --> C/C++  --> Preprocessor defintions 添加 ,_AFXDLL

猜你喜欢

转载自blog.csdn.net/llxxhm/article/details/81941288