Solved

afxres.h

Posted on 2002-05-17
2
295 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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.

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now