我在VS2010 C++中新建了一个项目"Windows 窗体应用程序" 然后在头文件stdafx.h里加入#include <afx.h>编译不通过,fatal error C1189: #error :  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]把属性页里配置属性 - 常规 - MFC的使用改成 "在共享DLL中使用MFC"还是编译不通过,error C3641: “DrawState”: 用 /clr:pure 或 /clr:safe 编译的函数的调用约定“__stdcall ”无效再把属性页里配置属性 - 常规 - 公共语言运行时支持 改成 "/clr"编译通过,但是双击打开程序出现:
Debug Assertion Failed!
Program : ......
File : dbgheat.c求教!!