<?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: Migrating (ancient) Dec Fortran to Windows - passing struct in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868743#M71486</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;The call to RESEVP is being done with the STDCALL call mechanism, which CVF used by default. Intel Fortran uses the C mechanism by default, though if you convert a CVF project it sets the defaults to match CVF. I suspect there is a mismatch here.&lt;/P&gt;
&lt;P&gt;A more serious problem, possibly, is if you are mixing Intel-compiled code with CVF-compiled code. This will not work and will cause lots of strange errors.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi Steve&lt;/P&gt;
&lt;P&gt;Thanks for the very prompt reply! It is appreciated.&lt;/P&gt;
&lt;P&gt;I need to give you further background:&lt;/P&gt;
&lt;P&gt;We have successfully recompiled ALL the old CVF code in the project with IVF. The next step was to:&lt;/P&gt;
&lt;P&gt;1. transfer the .FOR code necessary to do my work; plus&lt;/P&gt;
&lt;P&gt;2. the .OBJ of the code that I do not need (and can't get access to), to my PC&lt;/P&gt;
&lt;P&gt;It is when I compile the code (.FOR and .OBJ) on my PC that i have the compiler error.&lt;/P&gt;
&lt;P&gt;I have now set:&lt;/P&gt;
&lt;P&gt;1. Project/Properties/External Procedures/Append underscore to YES&lt;/P&gt;
&lt;P&gt;2. Project/Properties/Language/Source file format to USE FIXED FORMAT&lt;/P&gt;
&lt;P&gt;These compiler settings got rid of the error message mentioned. However, now I get a compiler message that certain arrays are not dimensioned although they are: see the following:&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;STRONG&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;real(8)&lt;/P&gt;
&lt;STRONG&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;and then the code&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;DIMENSION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: x-small;"&gt;(*) ::&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;RESID,etc.... &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #ff0000;"&gt;&lt;SPAN style="font-size: x-small; color: #ff0000;"&gt;&lt;FONT size="2" color="#ff0000"&gt;&lt;FONT size="2" color="#ff0000"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#ff0000"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;
&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: x-small; color: #000000;"&gt; (ideqns.ne.0) &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt;resid(ideqns)=0.0d0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt;dpresc(IPNODS)=dpresc(IPNODS)-dispt(ideqns)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;STRONG&gt;endif&lt;/STRONG&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sectionBodyText"&gt;generates the error message:&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P class="sectionBodyText"&gt;&lt;STRONG&gt;Error1 Error: This name has not been declared as an array or a function. [resid]C:Documents and Settingssteph_bMy DocumentsCAPACapa_SD3k-6.for58&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P class="sectionBodyText"&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P class="sectionBodyText"&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2008 13:21:27 GMT</pubDate>
    <dc:creator>bredsj</dc:creator>
    <dc:date>2008-11-03T13:21:27Z</dc:date>
    <item>
      <title>Migrating (ancient) Dec Fortran to Windows - passing structures as subroutine arguments</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868730#M71473</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;I have to ressurect some of my 15 year old VMS Fortran code to run on my Windows system and have run into a problem that I haven't been able to figure out from the documentation or searching on-line.&lt;/P&gt;
&lt;P&gt;Here is an example of a compilation error I get&lt;/P&gt;
&lt;P&gt;Error 1 Error: The type of the actual argument differs from the type of the dummy argument. [OBJ] \Visual Studio 2008\Projects\Flib\Astrom\POLYSOL.FOR 87&lt;/P&gt;
&lt;P&gt;The record structure is defined in the main program and the subroutine using the same include file (see code snippet). I'd appreciate any suggestions to resolve this - I passed record structures between subroutines A LOT! Thanks in advance. - Brian&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;snippet of code&lt;/P&gt;
&lt;P&gt;include 'astroref.inc'&lt;/P&gt;
&lt;P&gt;record /astroref/ obj&lt;/P&gt;
&lt;P&gt;call poly_model(model,obj,no_terms,x_plate_terms,y_plate_terms,x_plate_desc,y_plate_desc)&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;subroutine poly_model(model,obj,no_terms,x_plate_terms,y_plate_terms,x_plate_desc,y_plate_desc)&lt;/P&gt;
&lt;P&gt;include 'astroref.inc' &lt;BR /&gt;record /astroref/ obj&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 15:22:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868730#M71473</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T15:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868731#M71474</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;When building in Visual Studio, a new feature called "generated interface checking" is on by default. Unfortunately, this can't deal with the programming practice you are using here, which is fine in DEC Fortran 77. It would really prefer that the declaration of /astroref/ be in a module so that the declarations are "the same".&lt;/P&gt;
&lt;P&gt;The simplest solution for you is to turn off generated interface checking. Right click on the project properties, select Fortran &amp;gt; Diagnostics. Change the entries for "Generate interface blocks" and "Checjk routine interfaces" to No.&lt;/P&gt;
&lt;P&gt;If you wanted to try another approach, and if the include line immediately follows the subroutine/function/program statement, you could create a module file such as:&lt;/P&gt;
&lt;P&gt;module astroref_def&lt;/P&gt;
&lt;P&gt;structure /astroref/ &lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;end structure&lt;BR /&gt;end module astroref_def&lt;/P&gt;
&lt;P&gt;Add this source to your project. Then replace the contents of astroref.inc with:&lt;/P&gt;
&lt;P&gt;use astroref_def&lt;/P&gt;
&lt;P&gt;You may run into other issues doing this, so I don't recommend it unless you're feeling adventurous. Perhaps over time you'll migrate to using modules and derived types rather than structures and include files.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 15:36:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868731#M71474</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-10-14T15:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868732#M71475</link>
      <description>&lt;P&gt;Hhmmm - I seem to have a problem with project-&amp;gt;properties. I get a "Class not Registered" error when I try to access them.&lt;/P&gt;
&lt;P&gt;Is this a known installation problem? I've got IVF 10.1.025 installed with VS2008+SP1&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 16:04:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868732#M71475</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T16:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868733#M71476</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Some users have this problem. Try this.&lt;/P&gt;
&lt;P&gt;Download &lt;A href="http://software.intel.com/file/730"&gt;repairvs08integration.zip&lt;/A&gt; and unpack it into a folder of your choice. Close Visual Studio and run the EXE that was unpacked. If it displays any error messages, please post the text here. Otherwise, restart VS08 and see if you can get at the properties. Let me know what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 16:12:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868733#M71476</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-10-14T16:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868734#M71477</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Steve - I still have the same problem with the unregistered class. Looking at the command window I see that there was an error in the repair. BTW - I do have admin privs on this system. - Brian&lt;/P&gt;
&lt;P&gt;Visual Studio 2008 installed at C:Program FilesMicrosoft Visual Studio 9.0&lt;BR /&gt; Successfully unregistered VFHieEditor.dll&lt;BR /&gt; Successfully unregistered VFAVwin.dll&lt;BR /&gt; Successfully unregistered VFFortSvc.dll&lt;BR /&gt; Successfully unregistered VFProjConvert.dll&lt;BR /&gt; Successfully unregistered VFProj.dll&lt;BR /&gt; Successfully unregistered VFToolOpt.dll&lt;BR /&gt; Successfully registered VFToolOpt.dll&lt;BR /&gt; Error while registering VFProj.dll: Access is denied.&lt;BR /&gt;&lt;BR /&gt; Press any key to exit program&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 17:05:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868734#M71477</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T17:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868735#M71478</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Ok, try this.&lt;/P&gt;
&lt;P&gt;Open a command prompt window (Start &amp;gt; Run &amp;gt; CMD) and set default (cd) to the folder containing the unpacked Repairvs08integration.exe. Do this:&lt;/P&gt;
&lt;P&gt;SET PATH=&lt;BR /&gt;SET LIB=&lt;BR /&gt;SET INCLUDE=&lt;BR /&gt;repairvs08integration.exe&lt;/P&gt;
&lt;P&gt;Let me know what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 17:17:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868735#M71478</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-10-14T17:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868736#M71479</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;C:Data FilesDownloadsIntel VisFortran&amp;gt;repairvs08integration.exe&lt;BR /&gt; Visual Studio 2008 installed at C:Program FilesMicrosoft Visual Studio 9.0&lt;BR /&gt; Successfully unregistered VFHieEditor.dll&lt;BR /&gt; Successfully unregistered VFAVwin.dll&lt;BR /&gt; Successfully unregistered VFFortSvc.dll&lt;BR /&gt; Error while unregistering VFProjConvert.dll:&lt;BR /&gt; Error accessing the OLE registry.&lt;BR /&gt;&lt;BR /&gt; Successfully unregistered VFProj.dll&lt;BR /&gt; Successfully unregistered VFToolOpt.dll&lt;BR /&gt; Successfully registered VFToolOpt.dll&lt;BR /&gt; Error while registering VFProj.dll: Access is denied.&lt;BR /&gt;&lt;BR /&gt; Press any key to exit program&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 17:29:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868736#M71479</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T17:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868737#M71480</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;That "error accessing OLE registry" error I expect and can be ignored.&lt;/P&gt;
&lt;P&gt;Is this Vista? If so, please start the command prompt with "run as administrator" (right click on a command prompt shortcut and select Start as Administrator) and try this again.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 18:17:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868737#M71480</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-10-14T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868738#M71481</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;That "error accessing OLE registry" error I expect and can be ignored.&lt;/P&gt;
&lt;P&gt;Is this Vista? If so, please start the command prompt with "run as administrator" (right click on a command prompt shortcut and select Start as Administrator) and try this again.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Windows XP Pro and I have admin privs on this system&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 18:44:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868738#M71481</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T18:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868739#M71482</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/405784"&gt;daftpict&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Windows XP Pro and I have admin privs on this system&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;On Vista, having admin privs is not sufficient... But on XP it should. I have seen on some users' systems where they somehow got the registry into a state where parts of the registry were protected against write even by the administrator. I wonder if you have some background program that is interfering with the registry access. I could imagine some "malware protection software" doing this. If you have antivirus or similiar software, try disabling it temporarily. As a "big hammer" approach, you could reboot into Safe Mode and try doing the repair that way.&lt;/P&gt;
&lt;P&gt;If this doesn't help I'm going to suggest submitting a request for help to Intel Premier Support - reference this thread if you do.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 19:12:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868739#M71482</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-10-14T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868740#M71483</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Steve - still unable to repair the VS2008 integration, even in safe mode. I've run into registry permission issues on this system before (most notably trying to install XP SP3 despite trying all the suggestions on the MS knowledgebase). I'll take another look there to see if there is anything new and try again. Thanks for your help....I can always start work on converting to the module use as you suggest. -Brian&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2008 21:17:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868740#M71483</guid>
      <dc:creator>Daft_Pict</dc:creator>
      <dc:date>2008-10-14T21:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868741#M71484</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;When building in Visual Studio, a new feature called "generated interface checking" is on by default. Unfortunately, this can't deal with the programming practice you are using here, which is fine in DEC Fortran 77. It would really prefer that the declaration of /astroref/ be in a module so that the declarations are "the same".&lt;/P&gt;
&lt;P&gt;The simplest solution for you is to turn off generated interface checking. Right click on the project properties, select Fortran &amp;gt; Diagnostics. Change the entries for "Generate interface blocks" and "Checjk routine interfaces" to No.&lt;/P&gt;
&lt;P&gt;If you wanted to try another approach, and if the include line immediately follows the subroutine/function/program statement, you could create a module file such as:&lt;/P&gt;
&lt;P&gt;module astroref_def&lt;/P&gt;
&lt;P&gt;structure /astroref/ &lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;end structure&lt;BR /&gt;end module astroref_def&lt;/P&gt;
&lt;P&gt;Add this source to your project. Then replace the contents of astroref.inc with:&lt;/P&gt;
&lt;P&gt;use astroref_def&lt;/P&gt;
&lt;P&gt;You may run into other issues doing this, so I don't recommend it unless you're feeling adventurous. Perhaps over time you'll migrate to using modules and derived types rather than structures and include files.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi Steve&lt;/P&gt;
&lt;P&gt;I have experienced a similar problem and figured the compiler settings myself. However, I have anothe problem; we work as a group and some parts of the program are stable and therefore we do not include the source code, just the .OBJ files of these stable parts. Every member of the group then work on new developments in his own domain.&lt;/P&gt;
&lt;P&gt;The problem is that atlinking time some subroutines in OBJ files are not "seen". A typical message is:&lt;/P&gt;
&lt;P&gt;Error1 error LNK2019: unresolved external symbol &lt;A href="mailto:_RESEVP@184"&gt;_RESEVP@184&lt;/A&gt; referenced in function _MAIN__3k-1.obj&lt;/P&gt;
&lt;P&gt;The subroutine RESEVP is in one of the OBJ files.&lt;/P&gt;
&lt;P&gt;The code copiled successfully with CVF 6.6&lt;/P&gt;
&lt;P&gt;I also see that a lot of code is automatically generated by the compiler of individual subroutines with _mod.f90 added to the routine name, i.e. a subroutine sd03 will exist then a new file sd03_mod.f90 is create at compile time.&lt;/P&gt;
&lt;P&gt;I use Visual Studio 2005&lt;/P&gt;
&lt;P&gt;I hope you, or anybody else,can help&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 20:19:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868741#M71484</guid>
      <dc:creator>bredsj</dc:creator>
      <dc:date>2008-11-02T20:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868742#M71485</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;The call to RESEVP is being done with the STDCALL call mechanism, which CVF used by default. Intel Fortran uses the C mechanism by default, though if you convert a CVF project it sets the defaults to match CVF. I suspect there is a mismatch here.&lt;/P&gt;
&lt;P&gt;A more serious problem, possibly, is if you are mixing Intel-compiled code with CVF-compiled code. This will not work and will cause lots of strange errors.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 20:46:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868742#M71485</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-02T20:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868743#M71486</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;The call to RESEVP is being done with the STDCALL call mechanism, which CVF used by default. Intel Fortran uses the C mechanism by default, though if you convert a CVF project it sets the defaults to match CVF. I suspect there is a mismatch here.&lt;/P&gt;
&lt;P&gt;A more serious problem, possibly, is if you are mixing Intel-compiled code with CVF-compiled code. This will not work and will cause lots of strange errors.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi Steve&lt;/P&gt;
&lt;P&gt;Thanks for the very prompt reply! It is appreciated.&lt;/P&gt;
&lt;P&gt;I need to give you further background:&lt;/P&gt;
&lt;P&gt;We have successfully recompiled ALL the old CVF code in the project with IVF. The next step was to:&lt;/P&gt;
&lt;P&gt;1. transfer the .FOR code necessary to do my work; plus&lt;/P&gt;
&lt;P&gt;2. the .OBJ of the code that I do not need (and can't get access to), to my PC&lt;/P&gt;
&lt;P&gt;It is when I compile the code (.FOR and .OBJ) on my PC that i have the compiler error.&lt;/P&gt;
&lt;P&gt;I have now set:&lt;/P&gt;
&lt;P&gt;1. Project/Properties/External Procedures/Append underscore to YES&lt;/P&gt;
&lt;P&gt;2. Project/Properties/Language/Source file format to USE FIXED FORMAT&lt;/P&gt;
&lt;P&gt;These compiler settings got rid of the error message mentioned. However, now I get a compiler message that certain arrays are not dimensioned although they are: see the following:&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;STRONG&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;real(8)&lt;/P&gt;
&lt;STRONG&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;and then the code&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;DIMENSION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: x-small;"&gt;(*) ::&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;RESID,etc.... &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #ff0000;"&gt;&lt;SPAN style="font-size: x-small; color: #ff0000;"&gt;&lt;FONT size="2" color="#ff0000"&gt;&lt;FONT size="2" color="#ff0000"&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;FONT size="2" color="#ff0000"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;
&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: x-small; color: #000000;"&gt; (ideqns.ne.0) &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt;resid(ideqns)=0.0d0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000000;"&gt;dpresc(IPNODS)=dpresc(IPNODS)-dispt(ideqns)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;&lt;STRONG&gt;endif&lt;/STRONG&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sectionBodyText"&gt;generates the error message:&lt;/P&gt;
&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P class="sectionBodyText"&gt;&lt;STRONG&gt;Error1 Error: This name has not been declared as an array or a function. [resid]C:Documents and Settingssteph_bMy DocumentsCAPACapa_SD3k-6.for58&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" color="#0000ff"&gt;
&lt;P class="sectionBodyText"&gt;&lt;/P&gt;
&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P class="sectionBodyText"&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 13:21:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868743#M71486</guid>
      <dc:creator>bredsj</dc:creator>
      <dc:date>2008-11-03T13:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868744#M71487</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I cannot tell what the problem is from an excerpt or paraphrase of the actual code. If you want to attach the source, do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on Add Files&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;If you have not previously created a file folder here, fill in a new folder name and click Create Folder&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the folder you just created&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click the Browse button to browse for the file, click Upload&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the file you uploaded&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Optional: edit the Title field&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click Add as Attachment&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I am very surprised that you would need to change the properties you did, unless you also had those set in CVF.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 13:53:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868744#M71487</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-03T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868745#M71488</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I cannot tell what the problem is from an excerpt or paraphrase of the actual code. If you want to attach the source, do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on Add Files&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;If you have not previously created a file folder here, fill in a new folder name and click Create Folder&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the folder you just created&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click the Browse button to browse for the file, click Upload&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the file you uploaded&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Optional: edit the Title field&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click Add as Attachment&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I am very surprised that you would need to change the properties you did, unless you also had those set in CVF.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;Once again, thanks for your helpfullness (if there is such a word).&lt;/P&gt;
&lt;P&gt;I'll need permission to upload any source code. I'll discuss with the University and then upload.&lt;/P&gt;
&lt;P&gt;I have checked once again; the old CVF code compiles successfully even with the Project/Properties/Fortran/External Procedures/Calling Convention set DEFAULT. The problem only arises when the source code to which I am not supposed to have access is removed and only the .OBJ files are left.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 15:52:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868745#M71488</guid>
      <dc:creator>bredsj</dc:creator>
      <dc:date>2008-11-03T15:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868746#M71489</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I cannot tell what the problem is from an excerpt or paraphrase of the actual code. If you want to attach the source, do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on Add Files&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;If you have not previously created a file folder here, fill in a new folder name and click Create Folder&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the folder you just created&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click the Browse button to browse for the file, click Upload&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click on the name of the file you uploaded&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Optional: edit the Title field&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Click Add as Attachment&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I am very surprised that you would need to change the properties you did, unless you also had those set in CVF.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi Steve&lt;/P&gt;
&lt;P&gt;I have attached 3 files:&lt;/P&gt;
&lt;P&gt;The idea is to remove uniran.for and norran.for from the project (it is maintained by one person as an example) and only the main program, in this case rndcapa.f90 plus the .obj (norran.obj and uniran.obj) is made available to a user, who is then free to work on the main calling program, but he can't change the source related to the .obj files.&lt;/P&gt;
&lt;P&gt;The problem that we have is that as soon as the .for files are removed the .obj files also disappear. If we copy the .obj files into the project folder a unresolved external symbol linker error is obtained.&lt;/P&gt;
&lt;P&gt;I also see that the compiler creates _mod.f90 files. What is the reason for this?&lt;/P&gt;
&lt;P&gt;Unfrtunately I couldn't upload the real problem project as the University refused permiossion to do so.&lt;/P&gt;
&lt;P&gt;Your help is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 13:47:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868746#M71489</guid>
      <dc:creator>bredsj</dc:creator>
      <dc:date>2008-11-04T13:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868747#M71490</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Would you please also attach the .obj that causes the problem? Also, the buildlog.htm showing the failed link (in the Debug or Release folder).&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:09:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868747#M71490</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-04T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868748#M71491</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Would you please also attach the .obj that causes the problem? Also, the buildlog.htm showing the failed link (in the Debug or Release folder).&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;The requested files are attached.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 19:38:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868748#M71491</guid>
      <dc:creator>bredsj</dc:creator>
      <dc:date>2008-11-04T19:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating (ancient) Dec Fortran to Windows - passing struct</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868749#M71492</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Ok, I think I understand now.&lt;/P&gt;
&lt;P&gt;You need to place these.,obj files somewhere other than in the project's "intermediate files" folder - that is Debug or Release. Have some sort of "shared objects" folder and add the .obj files to your project from that. The problem is that when you do a full build, all .obj files in the intermediate folder are deleted.&lt;/P&gt;
&lt;P&gt;You could also insert them into a static library (which I consider more convenient.)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 20:01:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Migrating-ancient-Dec-Fortran-to-Windows-passing-structures-as/m-p/868749#M71492</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-04T20:01:05Z</dc:date>
    </item>
  </channel>
</rss>

