Cannot open include file 'afxres.h' in VC2010 Express

后端 未结 8 1828
庸人自扰
庸人自扰 2021-01-30 02:01

I\'m trying to compile an old project using VS express 2010 but I get this error:

fatal error RC1015: cannot open include file \'afxres.h\'. from this cod

8条回答
  •  一个人的身影
    2021-01-30 02:35

    Had the same problem . Fixed it by installing Microsoft Foundation Classes for C++.

    1. Start
    2. Change or remove program (type)
    3. Microsoft Visual Studio
    4. Modify
    5. Select 'Microsoft Foundation Classes for C++'
    6. Update

    enter image description here

提交回复
热议问题