-
Junior Member
Problem with winbase.h in VC++
HI,
I'm workin on a VC++ application proj. If i try changing some MFC code in a file, For ex: If i comment some MFC code, i get around 100 errors stating that there is a syntax error in winbase.h which i haven't included in my project.
What could be the reason?
-
Junior Member
Re: Problem with winbase.h in VC++
winbase.h defines windows apis
what code did you coment ?
-
Junior Member
Re: Problem with winbase.h in VC++
I had to abstract the MFC code in a file from general C++. So i had commented #include windows.h while moving certain functions to another file.
-
Junior Member
Re: Problem with winbase.h in VC++
Actually windows.h is an header file that contains a very large amount of windows specific functions.
There are certain header files that are included in windows.h and one among them is winbase.h
So my advice is not to comment the window.h header file
Hope this clears your doubt
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