Solved

afxres.h

Posted on 2002-05-17
2
305 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Losing latter half of command line in Visual Studio C++ online program 10 97
c++ syntax question 9 67
object oriented programming comparison 5 94
visual C++ 1 43
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

752 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