Chinaunix首页 | 论坛 | 博客
  • 博客访问: 766081
  • 博文数量: 217
  • 博客积分: 2401
  • 博客等级: 大尉
  • 技术积分: 2030
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-16 06:58
个人简介

怎么介绍?

文章分类

全部博文(217)

文章存档

2023年(2)

2022年(3)

2021年(29)

2020年(12)

2019年(5)

2018年(5)

2017年(5)

2016年(3)

2015年(6)

2014年(12)

2013年(16)

2012年(9)

2011年(6)

2010年(15)

2009年(30)

2008年(59)

我的朋友

分类:

2008-10-23 07:14:02

我运行书中的程序!
结果出现下面的错误!
由于程序非常之大故!不能将其帖出来!

下面是程序的错误!
c:\program   files\microsoft   visual   studio                                                                       8\vc\atlmfc\include\afx.h(24)   :   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]


TestMain.cpp

c:\program   files\microsoft   visual   studio   8\vc\atlmfc\include\afx.h(24)   :   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]
错误已经很明白告诉你了:
#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程序,   需要使用MFC动态连接库.
改工程设置:
Project|Properties|Configuration   Properties|General|Use   of   MFC   :   Use   MFC   in   a
Shared   DLL
 
阅读(3736) | 评论(1) | 转发(0) |
0

上一篇:VC fatal error C1189

下一篇:VC. net uni-code

给主人留下些什么吧!~~

UnGying2008-12-12 16:00:32

我也遇到这个问题,好像是编译器的问题