Results 1 to 4 of 4

Thread: Problem with winbase.h in VC++

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    4

    Question 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?


  2. #2
    Junior Member
    Join Date
    Jan 2008
    Answers
    3

    Re: Problem with winbase.h in VC++

    winbase.h defines windows apis

    what code did you coment ?


  3. #3
    Junior Member
    Join Date
    Nov 2007
    Answers
    4

    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.


  4. #4
    Junior Member
    Join Date
    Jan 2008
    Answers
    3

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact