fatal error 1189

fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h>
LVL 1
kirthirAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
That error message is on point. Do not '#include <windows.h>' in a MFC app, use '#include "StdAfx.h" instead (it'll pull in windows.h).
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.

All Courses

From novice to tech pro — start learning today.