<?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: In problem using mixed language in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946280#M18366</link>
    <description>This means, you can use .obj, .lib and/or .dll files created by PowerStation in VC, but you have to compile them using FPS compiler and IDE. The simplest way is to just insert .obj files created by FPS into VC project (of course, you'll have to also write a .h file containing declarations of fortran functions, they all should be &lt;B&gt;extern "C" __stdcall&lt;/B&gt;). You can also &lt;BR /&gt;create a "static library" project in FPS and insert the resulting .lib file into &lt;BR /&gt;VC project. Finally, you can create a "DLL" project in FPS and insert the &lt;BR /&gt;resulting .lib (&lt;B&gt;not&lt;/B&gt; dll) into VC project. &lt;BR /&gt;Everything said is also valid if you want to make FPS "frame" project, i.e. &lt;BR /&gt;you should be able to insert VC .obj files into FPS project. However, i'm not &lt;BR /&gt;sure if that would work due to "forward compatibility", i.e. if MS changed their .obj format since 1995. &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
    <pubDate>Mon, 09 Apr 2001 17:22:59 GMT</pubDate>
    <dc:creator>Jugoslav_Dujic</dc:creator>
    <dc:date>2001-04-09T17:22:59Z</dc:date>
    <item>
      <title>In problem using mixed language</title>
      <link>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946279#M18365</link>
      <description>I really appriciate Steve for giving me advice. &lt;BR /&gt;.. &lt;BR /&gt;And I have two questions about his advices. &lt;BR /&gt;First He said "You could link in objects and libraries created by PowerStation in a VC++ 6.0 project" , He means dll file created by PowerStation 4.0 can be used in VC++6.0 ? &lt;BR /&gt;Second, He said "you would have to build the Fortran components separately". &lt;BR /&gt;I don't know exactly how should I do? &lt;BR /&gt;  &lt;BR /&gt;I'm sorry I make you to be troublesome.</description>
      <pubDate>Mon, 09 Apr 2001 15:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946279#M18365</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-09T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: In problem using mixed language</title>
      <link>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946280#M18366</link>
      <description>This means, you can use .obj, .lib and/or .dll files created by PowerStation in VC, but you have to compile them using FPS compiler and IDE. The simplest way is to just insert .obj files created by FPS into VC project (of course, you'll have to also write a .h file containing declarations of fortran functions, they all should be &lt;B&gt;extern "C" __stdcall&lt;/B&gt;). You can also &lt;BR /&gt;create a "static library" project in FPS and insert the resulting .lib file into &lt;BR /&gt;VC project. Finally, you can create a "DLL" project in FPS and insert the &lt;BR /&gt;resulting .lib (&lt;B&gt;not&lt;/B&gt; dll) into VC project. &lt;BR /&gt;Everything said is also valid if you want to make FPS "frame" project, i.e. &lt;BR /&gt;you should be able to insert VC .obj files into FPS project. However, i'm not &lt;BR /&gt;sure if that would work due to "forward compatibility", i.e. if MS changed their .obj format since 1995. &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Mon, 09 Apr 2001 17:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946280#M18366</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-04-09T17:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: In problem using mixed language</title>
      <link>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946281#M18367</link>
      <description>No - don't try to insert VC++ 6 objects or libraries into an FPS project.  You'll get bizarre linker errors, because MS &lt;B&gt;did&lt;/B&gt; change the object format.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 09 Apr 2001 18:19:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/In-problem-using-mixed-language/m-p/946281#M18367</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-04-09T18:19:31Z</dc:date>
    </item>
  </channel>
</rss>

