Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

#include generate errorC1189

$
0
0

I need to include afxmt.h in my VC++ Windows Forms Application's form1.h in order to declare CEvent but following compile error occurs.

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]

How do I solve this problem?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>