Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

afxres.h

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
JohnWeidner
Asked:
JohnWeidner
1 Solution
 
jkrCommented:
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
 
cookreCommented:
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now