Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

afxres.h

Mike_M_1
New Contributor I
558 Views

I am trying to resurrect a QuickWin app last complied in 2009.  I believe I have all the files and have built a new project/solution with them.  However, when I go to compile, I get an ERROR RC1015 "unable to find file afxres.h".  I have searched my PC for it without success, and even updated Visual Studio 2022 without success.  How do I get hold of this file?  More broadly, any pointers (including to a "how to" guide) that would enhance my probability of success?

Mahalo, Mike McCurdy

0 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
519 Views

See Cannot open resource file in VS 2015: Can't open include file afxres.h - Stack Overflow - this is an artifact of Microsoft changes since 2009. There will be a reference to it in the .rc file of your project.

View solution in original post

3 Replies
Steve_Lionel
Honored Contributor III
520 Views

See Cannot open resource file in VS 2015: Can't open include file afxres.h - Stack Overflow - this is an artifact of Microsoft changes since 2009. There will be a reference to it in the .rc file of your project.

Mike_M_1
New Contributor I
288 Views

Gentlemen,

 

Thanks for your assistance on this.  Including "winres.h" solved the immediate problem, but revealed that straightforward recompilation won't do the trick.  However, I have recent experience with redevelopment, so it shouldn't be all that difficult.  There's also the possibility of falling back on the earlier console application.

 

Thanks again for your assistance.

 

Aloha, Mike McCurdy

0 Kudos
Reply