• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1683
  • Last Modified:

Some problems with building

Hello. I try to build something I downloaded from the net, but I get some errors I dont understand.

Error      1      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]      c:\programfiler\microsoft visual studio 8\vc\atlmfc\include\afx.h      24

This is what's in line 24 in afx.h:

#error Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

How to deal with this?
0
m-jansen
Asked:
m-jansen
1 Solution
 
AlexFMCommented:
Project - Properties - Configuration Properties - General - Use of MFC. Set to "Use MFC in shared Dll".
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now