Solved

afxres.h

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

762 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

19 Experts available now in Live!

Get 1:1 Help Now