[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Some problems with building

Posted on 2006-04-17
1
Medium Priority
?
1,655 Views
Last Modified: 2012-08-13
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
Comment
Question by:m-jansen
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 16469085
Project - Properties - Configuration Properties - General - Use of MFC. Set to "Use MFC in shared Dll".
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question