could anyone help ?
i complied my .net 2003 project by using studio 2008 and i get this error :
1>C:\Program Files\Microsoft Visual Studio 9.0\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]
here is the afx.h
#ifndef __AFX_H__
#define __AFX_H__
//#define _AFXDLL
#ifndef __cplusplus
#error MFC requires C++ compilation (use a .cpp suffix)
#endif
#pragma once
/////////////////////////////////////////////////////////////////////////////
//#define _AFXDLL
#ifdef _DLL
#ifndef _AFXDLL
#error Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
#endif
#endif
thanks in advange
[tfl - 14 Aug 08] You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quick response using the forums than through the Community Content.