<?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: Using external DLL's with Visual Fortran in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Using-external-DLL-s-with-Visual-Fortran/m-p/973398#M24536</link>
    <description>It looks to me as if the linker thinks that you're trying to build your own DLL with the .DEF file.  You shouldn't need both the .DEF and .LIB - just use the .LIB and remove the .DEF from the project.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Sat, 10 Nov 2001 10:48:23 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-11-10T10:48:23Z</dc:date>
    <item>
      <title>Using external DLL's with Visual Fortran</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-external-DLL-s-with-Visual-Fortran/m-p/973397#M24535</link>
      <description>Hi, &lt;BR /&gt;   I'm trying to write some code to download information from a piece of hardware.   The manufacturers provided a .dll file with its associated .def and .lib files containing commands to download the data from the serial port.   I can compile the code that I have written, but when I try to build the executable file I get the following error message: &lt;BR /&gt; &lt;BR /&gt;Linking... &lt;BR /&gt;   Creating library Debug/cloud.lib and object Debug/cloud.exp &lt;BR /&gt;cloud.exp : warning LNK4070: /OUT:VANTAGEPRO.exe directive in .EXP differs from output filename "Debug/cloud.exe"; ignoring directive &lt;BR /&gt;Debug/cloud.exe : warning LNK4086: entrypoint "_mainCRTStartup" is not __stdcall with 12 bytes of arguments; image may not run &lt;BR /&gt;cloud.obj : error LNK2001: unresolved external symbol _OPENCOMMPORT_V@0 &lt;BR /&gt;cloud.obj : error LNK2001: unresolved external symbol _LOADCURRENTVANTAGEDATA_V@0 &lt;BR /&gt;cloud.obj : error LNK2001: unresolved external symbol _GETOUTSIDETEMP_V@0 &lt;BR /&gt;cloud.obj : error LNK2001: unresolved external symbol _CLOSECOMMANDPORT_V@0 &lt;BR /&gt;Debug/cloud.exe : fatal error LNK1120: 4 unresolved externals &lt;BR /&gt;Error executing link.exe. &lt;BR /&gt; &lt;BR /&gt;cloud.exe - 5 error(s), 2 warning(s) &lt;BR /&gt; &lt;BR /&gt;I think that this may suggest that there's a line in the manufacturers files which is wrongly directing the output, but I can't find it.   Can anyone help?</description>
      <pubDate>Sat, 10 Nov 2001 07:58:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-external-DLL-s-with-Visual-Fortran/m-p/973397#M24535</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-11-10T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using external DLL's with Visual Fortran</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-external-DLL-s-with-Visual-Fortran/m-p/973398#M24536</link>
      <description>It looks to me as if the linker thinks that you're trying to build your own DLL with the .DEF file.  You shouldn't need both the .DEF and .LIB - just use the .LIB and remove the .DEF from the project.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 10 Nov 2001 10:48:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-external-DLL-s-with-Visual-Fortran/m-p/973398#M24536</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-11-10T10:48:23Z</dc:date>
    </item>
  </channel>
</rss>

