<?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 Thanks for the .DWI. Your DLL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186567#M150211</link>
    <description>&lt;P&gt;Thanks for the .DWI. Your DLL is a 64-bit build. Excel typically wants 32-bit DLLs.&amp;nbsp; I checked my own copy of Office 365 Excel, based on the comment from @avinashs,&amp;nbsp;and it is 32-bit. Try rebuilding as a 32-bit DLL and see if that helps.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 12:47:38 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2020-06-18T12:47:38Z</dc:date>
    <item>
      <title>Error with DLL Use in Excel 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186563#M150207</link>
      <description>&lt;P&gt;I have used FORTRAN Composer 2013 with VS2010 to build versions of a DLL that I&amp;nbsp;(and many others) have used successfully for about 5 years&amp;nbsp;on machines ranging from Windows 7 with 32-bit Excel to Windows 10 with Excel 2016.&amp;nbsp; The DLL now does not work with Windows 10, Excel 2019.&amp;nbsp; Error message is Runtime Error 53, Cannot find file.&amp;nbsp; I suspect that the DLL is searching for other utilities that are not available in the W10/Excel2019 environment.&amp;nbsp; In fact, Dependency Walker shows a lot of items referenced by the DLL that it&amp;nbsp;cannot find.&amp;nbsp; Is there a compiler option that I need to change (I've changed many already) that will resolve this. Or ---- is my FORTRAN or Visual Studio so outdated that I just need to upgrade.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 22:39:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186563#M150207</guid>
      <dc:creator>Steve__Green</dc:creator>
      <dc:date>2020-06-17T22:39:33Z</dc:date>
    </item>
    <item>
      <title>In Dependency Walker, please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186564#M150208</link>
      <description>&lt;P&gt;In Dependency Walker, please do a File.. Save As to save a .dwi file. Zip that and attach the zip to a reply here. We'll look at it and give you a recommendation.&lt;/P&gt;&lt;P&gt;I will throw out the suggestion to make sure you are not building a Debug configuration. You can probably also fix this by setting the project property Fortran &amp;gt; Libraries &amp;gt; Use Runtime Library &amp;gt; Multithreaded (/MT).&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 01:15:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186564#M150208</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-06-18T01:15:19Z</dc:date>
    </item>
    <item>
      <title>Thanks for the quick response</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186565#M150209</link>
      <description>&lt;P&gt;Thanks for the quick response, Doc.&amp;nbsp; See attached per your request. To&amp;nbsp; answer your questions&lt;/P&gt;&lt;P&gt;1. This is a Release (not Debug) configuration&lt;/P&gt;&lt;P&gt;2. The Multithreaded /MT option is selected.&amp;nbsp; I discovered this solution to a similar problem several DLL versions ago (probably based on advice from you to&amp;nbsp;another user in this forum) when one of my users had the same symptom in an earlier&amp;nbsp;version of Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 02:25:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186565#M150209</guid>
      <dc:creator>Steve__Green</dc:creator>
      <dc:date>2020-06-18T02:25:19Z</dc:date>
    </item>
    <item>
      <title>I have a few suggestions</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186566#M150210</link>
      <description>&lt;P&gt;I have a few suggestions based on my recent experience with the same problem:&lt;/P&gt;&lt;P&gt;1. When my new Office 365 automatically updated, the default version is 64-bit so the old 32-bit DLLs were not compatible. In Excel, check Account -&amp;gt; About Excel to make sure it is the version you want.&lt;BR /&gt;2. Build the DLL in Release mode with the options&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/iface:cvf /libs:static /threads /Qm32&lt;BR /&gt;3. In 64-bit mode, certain functionality that was previously offered by VBA will not work any more.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 04:55:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186566#M150210</guid>
      <dc:creator>avinashs</dc:creator>
      <dc:date>2020-06-18T04:55:06Z</dc:date>
    </item>
    <item>
      <title>Thanks for the .DWI. Your DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186567#M150211</link>
      <description>&lt;P&gt;Thanks for the .DWI. Your DLL is a 64-bit build. Excel typically wants 32-bit DLLs.&amp;nbsp; I checked my own copy of Office 365 Excel, based on the comment from @avinashs,&amp;nbsp;and it is 32-bit. Try rebuilding as a 32-bit DLL and see if that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:47:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186567#M150211</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-06-18T12:47:38Z</dc:date>
    </item>
    <item>
      <title>Steve Lionel,     It's been</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186568#M150212</link>
      <description>&lt;P&gt;Steve Lionel,&amp;nbsp; &amp;nbsp; &amp;nbsp;It's been my experience so far that 64-bit Excel will not communicate with DLLs&amp;nbsp;that were built for 32-bit platforms. Regardless of the Windows OS (7, 8 or 10), if the installed Excel is 32-bit then my DLL has to be built for 32-bit platform.&amp;nbsp;If 64-bit Excel is installed, my DLL has to be built for 64-bit platform.&amp;nbsp; The wrinkle came when my DLL built for 64-bit platform that worked in 64-bit Excel 2016 would not work for 64-bit Excel 2019.&lt;/P&gt;&lt;P&gt;avinashs,&amp;nbsp; &amp;nbsp; &amp;nbsp; Making the change from /iface:stdref&amp;nbsp;to one your suggestions of /iface:cvf&amp;nbsp; did the trick.&amp;nbsp; The DLL now runs in Excel 2019.&amp;nbsp; In all my semi-random attempts at trying compiler option changes, I did not try that one.&amp;nbsp; For the sake of completeness, the command line from the Properties/Fortran/Command Line windows is&lt;/P&gt;&lt;P&gt;/nologo /O2 /iface:cvf /module:"x64\Release\\" /object:"x64\Release\\" /Fd"x64\Release\vc100.pdb" /libs:static /threads /c&lt;/P&gt;&lt;P&gt;Dependency Walker still shows unfound files, but I don'care.&amp;nbsp; I have a DLL that now works in Excel 2019.&lt;/P&gt;&lt;P&gt;Many, many thanks to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 18:22:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186568#M150212</guid>
      <dc:creator>Steve__Green</dc:creator>
      <dc:date>2020-06-18T18:22:17Z</dc:date>
    </item>
    <item>
      <title>It was not clear to me that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186569#M150213</link>
      <description>&lt;P&gt;It was not clear to me that you had a 64-bit Excel.&lt;/P&gt;&lt;P&gt;I also had assumed that you used the same build options as before. For x64, the main difference between /iface:cvf and /iface:stdref is that the former upcases the Fortran routine name and the latter downcases it. X64 doesn't have STDCALL as a calling convention, but other actions of these options do have effect.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 19:12:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-with-DLL-Use-in-Excel-2019/m-p/1186569#M150213</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-06-18T19:12:15Z</dc:date>
    </item>
  </channel>
</rss>

