<?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: Can't Get EXE To Find DLL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779979#M27097</link>
    <description>It appears to be a run-time problem.  It appears to compile and link correctly, as the error message doesn't appear until I try to execute the program.</description>
    <pubDate>Fri, 14 May 2004 21:27:21 GMT</pubDate>
    <dc:creator>adamanthaea</dc:creator>
    <dc:date>2004-05-14T21:27:21Z</dc:date>
    <item>
      <title>Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779973#M27091</link>
      <description>I'm using CVF and am trying to get the basics of creating a DLL down so I can go on and do something bigger. I can get both the DLL and the EXE to compile properly. However, when I try to execute the program, it won't execute because it can't find the DLL. Here is my code for the DLL:&lt;BR /&gt;&lt;BR /&gt;PROGRAM retention&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE VISC (tk, viscosity)&lt;BR /&gt;!DEC$ ATTRIBUTES DLLEXPORT :: VISC&lt;BR /&gt;REAL tk, viscosity&lt;BR /&gt;viscosity=(1.e-6*(5.6159426 + 0.053286909*tk))/(1 + 0.0002676519*tk)&lt;BR /&gt;END SUBROUTINE&lt;BR /&gt;&lt;BR /&gt;And the code for the EXE is:&lt;BR /&gt;&lt;BR /&gt;PROGRAM main&lt;BR /&gt;!DEC$ ATTRIBUTES DLLEXPORT :: VISC&lt;BR /&gt;REAL viscosity, tk&lt;BR /&gt;READ *,tk&lt;BR /&gt;CALL VISC (tk, viscosity)&lt;BR /&gt;PRINT *,tk,viscosity&lt;BR /&gt;STOP &lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;I've tried just about everything I can think of. Manually moving the DLL to either the project folder or the debug folder results in a DFORRTD.DLL error instead of a missing retention.DLL error. There is probably something incredibly stupid that I'm missing, but I cannot figure out what it is. Each program was coded in it's own little project folder. Any help would be greatly appreciated.</description>
      <pubDate>Fri, 14 May 2004 02:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779973#M27091</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T02:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779974#M27092</link>
      <description>&lt;DIV&gt;You have built the DLL in a debug configuration. This introduces dependencies that don't allow for copying the DLL to a system where CVF is not installed. It is not clear to me if this is the issue, but it sounds as if it may be.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Rebuild as a Release configuration. If you are running on a system where CVF is not installed, download and install the &lt;A href="http://compaq.com/fortran/visual/redist.html" target="_blank"&gt;Redistributables Kit&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The next thing to understand is how Windows searches for DLLs. It looks in the following locations (I may not have the order right):&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Current directory&lt;/LI&gt;
&lt;LI&gt;Directory containing the EXE that asked for the DLL (directly or indirectly)&lt;/LI&gt;
&lt;LI&gt;Directories in PATH&lt;/LI&gt;
&lt;LI&gt;Windows directory&lt;/LI&gt;
&lt;LI&gt;Windows System directory&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Note that when running in Developer Studio, the current directory is set to the project folder.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2004 02:41:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779974#M27092</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-14T02:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779975#M27093</link>
      <description>Thanks for the advice. I tried rebuilding the programs in Release mode. Still no go. The directories are:&lt;BR /&gt;&lt;BR /&gt;C:...
etention
etention for the DLL and&lt;BR /&gt;C:...
etention	estretention for the EXE&lt;BR /&gt;&lt;BR /&gt;with the DLLs and EXEs being in the release and debug subfolders. It's not a problem of getting it to work on a computer without CVF as I'm trying to execute the program from inside CVF. I tried placing the EXE folder as C:...
etention
etention	estretention, but still no go.</description>
      <pubDate>Fri, 14 May 2004 03:59:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779975#M27093</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T03:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779976#M27094</link>
      <description>What is the complete and exact text of the error message?
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 06:14:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779976#M27094</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-14T06:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779977#M27095</link>
      <description>The error message is:&lt;BR /&gt;&lt;BR /&gt;This application has failed to start because retention.dll was not found. Re-installing the application may fix this problem.</description>
      <pubDate>Fri, 14 May 2004 19:02:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779977#M27095</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T19:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779978#M27096</link>
      <description>&lt;P&gt;Adam, I don't quite follow your setup, but &lt;A href="http://softwareforums.intel.com/ids/board/message?board.id=5&amp;amp;message.id=1377&amp;amp;highlight=..%5Cbin#M1377" target="_blank"&gt;here's&lt;/A&gt; a piece of advice about setting up the workspace in case of multiple projects -- it might help.&lt;/P&gt;
&lt;P&gt;Jugoslav&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2004 19:24:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779978#M27096</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-05-14T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779979#M27097</link>
      <description>It appears to be a run-time problem.  It appears to compile and link correctly, as the error message doesn't appear until I try to execute the program.</description>
      <pubDate>Fri, 14 May 2004 21:27:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779979#M27097</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T21:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779980#M27098</link>
      <description>&lt;DIV&gt;I understand, and the suggestion in the link I referred to solves exactly that. The simplest way to develop a multiple-module solution is to ensure that the .exe and .dll's are in the same directory.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 21:35:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779980#M27098</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-05-14T21:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779981#M27099</link>
      <description>Sorry. Didn't mean to be insulting. I'll give your procedure another  shot.</description>
      <pubDate>Fri, 14 May 2004 21:43:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779981#M27099</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T21:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779982#M27100</link>
      <description>&lt;DIV&gt;To help diagnose this, right click on the EXE and select View Dependencies. (If that option isn't there, let me know.) It will display all the DLLs your EXE is dependent on, and will indicate which ones can't be found.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Try putting your DLL in the same folder as the EXE.&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 22:07:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779982#M27100</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-14T22:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779983#M27101</link>
      <description>Where should I click for the EXE? Bringing up the properties for the file I compile into an executable shows no dependencies. Right-clicking the actual executable file only brings up the normal Windows options. Is there a way to see the executable inside Dev Studio that I'm not seeing?</description>
      <pubDate>Fri, 14 May 2004 23:07:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779983#M27101</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-14T23:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779984#M27102</link>
      <description>Did you ever study the CVF DLL samples that come on the CD?&lt;BR /&gt;IMO it's the best place to start in trying to get into the hang of VS.&lt;BR /&gt;&lt;BR /&gt;Ciao,&lt;BR /&gt;Gerry T.</description>
      <pubDate>Fri, 14 May 2004 23:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779984#M27102</guid>
      <dc:creator>g_f_thomas</dc:creator>
      <dc:date>2004-05-14T23:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779985#M27103</link>
      <description>&lt;DIV&gt;I don't mean inside Developer Studio. It could be that the Dependency Viewer is not available to you.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Try this instead. Download &lt;A href="ftp://ftp.compaq.com/pub/products/fortran/vf/supp/loadtest.exe" target="_blank"&gt;ftp://ftp.compaq.com/pub/products/fortran/vf/supp/loadtest.exe&lt;/A&gt; and put it in the same folder as your EXE. Open a command prompt window and CD to that folder. Then type:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;loadtest yourexename.exe&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What does it say?&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 23:56:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779985#M27103</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-14T23:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779986#M27104</link>
      <description>Okay, I did that. The message is:&lt;BR /&gt;&lt;BR /&gt;About to load: testretention.exe&lt;BR /&gt;Image: testretention.exe loaded OK&lt;BR /&gt;Done</description>
      <pubDate>Sat, 15 May 2004 01:03:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779986#M27104</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-15T01:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779987#M27105</link>
      <description>&lt;DIV&gt;Ok. Are you still having problems running the program then?&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 May 2004 01:31:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779987#M27105</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-15T01:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779988#M27106</link>
      <description>Yes, it is still giving me the same missing DLL error message. I have the feeling I just missed some setting somewhere or something, but I can't track it down.</description>
      <pubDate>Sat, 15 May 2004 01:42:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779988#M27106</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-15T01:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779989#M27107</link>
      <description>&lt;DIV&gt;Can you run the EXE by double-clicking on it? I can't see how LOADTEST would succeed but running it wouldn't.&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 May 2004 02:20:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779989#M27107</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-15T02:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779990#M27108</link>
      <description>No, it gives the same error message when executed either from Dev Studio or when I attempt to run it from Windows by double-clicking.</description>
      <pubDate>Sat, 15 May 2004 02:27:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779990#M27108</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-15T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779991#M27109</link>
      <description>&lt;DIV&gt;I can't see how you would get the error when double-clicking, but LOADTEST worked ok.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Please try loadtest again but this time use the -d switch:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;loadtest -d yourexe.exe&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What does it say?&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 May 2004 02:50:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779991#M27109</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-15T02:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Get EXE To Find DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779992#M27110</link>
      <description>&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;g.f.thomas wrote:&lt;BR /&gt;Did you ever study the CVF DLL samples that come on the CD?&lt;BR /&gt;IMO it's the best place to start in trying to get into the hang of VS.&lt;BR /&gt;&lt;BR /&gt;Ciao,&lt;BR /&gt;Gerry T.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried, but I cannot get the example files to compile properly. I'm not sure what I'm doing wrong, as I set up different workspaces for it and they still don't want to go. As far as I can tell, there is no tutorial documentation on how to use them.</description>
      <pubDate>Sat, 15 May 2004 02:51:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Can-t-Get-EXE-To-Find-DLL/m-p/779992#M27110</guid>
      <dc:creator>adamanthaea</dc:creator>
      <dc:date>2004-05-15T02:51:33Z</dc:date>
    </item>
  </channel>
</rss>

