Solved

fatal error 1189

Posted on 2002-07-15
3
310 Views
Last Modified: 2013-11-20
fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h>
0
Comment
Question by:kirthir
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 7154359
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 96
canBalance challenge 34 96
Path of Workbook 3 86
Is there a simple front-end menu system. 9 103
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 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