Solved

afxres.h

Posted on 2002-05-17
2
308 Views
Last Modified: 2011-10-03
Just installed MS VC++ 6.0.   Used the MFC App Wizard to create a dummy application.   Tried to build it, but the compiler can't find AFXRES.H.   It doesn't appear to be on the computer anywhere.   Does this mean my install of VC is bad?   Or does something else generate this file?
0
Comment
Question by:JohnWeidner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 7017493
This file should be <MicrosoftVisualStudio>\VC98\MFC\Include

Are you using Win9x/ME? if so, try adding a call to vcvars32.bat to your autoexec.bat, it will set the environment variables...
0
 
LVL 22

Accepted Solution

by:
cookre earned 50 total points
ID: 7017940
Also, go to tools/options, select the 'directories' tab then 'include files' under 'show directories for'.

The ...\mfc\include directory probably isn't there.

Add it by clicking on the empty bar below the last entry then the triple dot browse button.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question