Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows.h

Status
Not open for further replies.

mangocinn

Programmer
Jul 26, 2001
66
US
I am using MFC.

When I compile my project, I recieve the following error.
1189: Windows.h already included. MFC aps must not #include <windows.h>.

I have tried including <afx.h> and <afxwin.h> and that doesn't seem to make the error go away.

Any ideas?
 
You are obviously #including <windows.h> somewhere in your project. Take it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top