Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
Error	1	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:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afx.h	24	1	ConsoleApplication1


What I have tried:

Je veux utiliser xmlserialisation mais quand je l'intégre il m'affiche ce probléme et j'ai pas su comment je doit faire pour le régler.
Posted
Updated 1-Mar-20 22:23pm
Comments
Arthur V. Ratz 20-Mar-16 11:13am    
Can you type your question in English, I'm understanding French ?

1 solution

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

It's very explicit, and tells you exactly what to do to fix it!
 
Share this answer
 
Comments
Arthur V. Ratz 21-Mar-16 2:35am    
Good answer. +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900