<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AFXRES.H missing.... in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345234#M158858</link>
    <description>&lt;P&gt;I had the same issue and copied afxres.h from an older install:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Copy "afxres.h" from:&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include&lt;BR /&gt;to:&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\atlmfc\include&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Dec 2021 19:03:34 GMT</pubDate>
    <dc:creator>Neels</dc:creator>
    <dc:date>2021-12-19T19:03:34Z</dc:date>
    <item>
      <title>AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345233#M158857</link>
      <description>&lt;P&gt;I'm trying to recompile legacy Digital Visual Fortran programs using a OneApi Fortran compiler in VS2019.&lt;/P&gt;
&lt;P&gt;A particular program in question is a windows dialog based program. VS2019 will not display the program's resource.rc file because of the missing file afxres.h&lt;/P&gt;
&lt;P&gt;Do I need it? One piece of advice is to edit it&amp;nbsp; the .rc file and replace afxres.h with windows.h .&lt;/P&gt;
&lt;P&gt;Another is to install Microsoft MFC for C++. Is the Msoft MFC C++ available from the VS2019 installer, do you know?&lt;/P&gt;
&lt;P&gt;Any other options?&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;Anthony Richards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 19:20:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345233#M158857</guid>
      <dc:creator>TonyRichards</dc:creator>
      <dc:date>2021-12-19T19:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345234#M158858</link>
      <description>&lt;P&gt;I had the same issue and copied afxres.h from an older install:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Copy "afxres.h" from:&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include&lt;BR /&gt;to:&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include&lt;BR /&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\atlmfc\include&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 19:03:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345234#M158858</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2021-12-19T19:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345249#M158862</link>
      <description>&lt;P&gt;1] From solution explorer open the Resource file (.rc).&lt;/P&gt;
&lt;P&gt;2] Right click on the top item in the resoure tree&amp;nbsp; &amp;lt;name&amp;gt;.rc&lt;/P&gt;
&lt;P&gt;3] On the pop up menu click "resource includes"&lt;/P&gt;
&lt;P&gt;4] Remove&amp;nbsp;&lt;SPAN&gt;afxres.h&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;5] mine looks like the picture&amp;nbsp; attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrew_4619_0-1639953845705.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/24947iD0B58E2FFC57D07D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="andrew_4619_0-1639953845705.png" alt="andrew_4619_0-1639953845705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you just delete the .h it in the RC file it will just get added back in automatically&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 22:46:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345249#M158862</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2021-12-19T22:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345299#M158867</link>
      <description>&lt;P&gt;Thank you, that worked but I had to also include the winres.h and winver.h files. Probably because the original .rc file was created with DVF in the late 90's.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 06:37:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345299#M158867</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2021-12-20T06:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345330#M158869</link>
      <description>&lt;P&gt;You need to have some stuff defined for the rc file and it has to come from somewhere and that somewhere needs to be installed. Winres.h is part of the VC++ install and is needed. In some other Universes you might have&amp;nbsp; &lt;SPAN&gt;afxres.h which I believe&amp;nbsp;includes Winres.h within it. I don't think this pertains to DVF in anyway. For some reason this&amp;nbsp; problem seem to pop up for me every few years.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 09:10:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345330#M158869</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2021-12-20T09:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: AFXRES.H missing....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345337#M158871</link>
      <description>&lt;P&gt;Thanks for your solution. After Iposted I looked up a recent test program I created in VS2019 and opened its .RC file and found #axfres.h was replaced with #winres.h and #winver.h so I replced #axfres.h accordingly. I was unaware of the edit trick involving the Includes, thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 10:23:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AFXRES-H-missing/m-p/1345337#M158871</guid>
      <dc:creator>TonyRichards</dc:creator>
      <dc:date>2021-12-20T10:23:33Z</dc:date>
    </item>
  </channel>
</rss>

