|
-
March 23rd, 2006, 10:37 PM
#1
ERROR WINDOWS.H already included??
Hey All -
I am writing a win32 dll. I included a class that can access database operations. I included afxdb.h in the headerfile and declared a variable in the header file for CDatabase. When I compile it.. it gives me a error
"WINDOWS.H already included. MFC apps must not #include <windows.h>"
same when I try to include it in the .cpp file (below stdafx.h ) it compiles without errors.
I am trying to research on it online.. no 1 seems to have a solution... but jus very similar problems...!!!
can any one help me around this please????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|