Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

ado and mfc

I would like to know how to incorporate MFC (I want to use COleDateTime and
CString objects) into code that uses ADO database access.
Creating an MFC object will not compile. This is the message:

fatal error C1189: #error : WINDOWS.H already included. MFC apps must
not #include <windows.h>
[319 byte] By [Richard Schuster] at [2007-11-10 12:52:16]