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 Rhinorhino 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
Joined
Jul 26, 2001
Messages
66
Location
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.

Similar threads

Part and Inventory Search

Sponsor

Back
Top