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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MFC/ADO to VB/COM/ADO error

Status
Not open for further replies.

JoshClark

Programmer
Feb 6, 2001
4
US
I'm working an MFC DLL that will be used in a VB white-box testing tool. My DLL references the ADO typelib to recognize types used in imported VB COM objects that are used as middleware between the application-under-test's web front-end and MSSQL back-end. I keep getting this one freaking error when I try to build my DLL:

Fatal Error C1189: Windows.h already included. MFC apps must not #include <windows.h>.

What is causing this and how can I fix it?

Urgent! Please Help!!

Josh Clark
Test Engineer
Prime Meridian Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top