<?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 Linking error in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Linking-error/m-p/965829#M22829</link>
    <description>A strange little bug with v6.6: when using loc(..) to get an integer pointer to a Windows function (e.g. DefWindowProc), then a link error message is generated unless the function is also referred to directly in that module. &lt;BR /&gt; &lt;BR /&gt;For example, the code &lt;BR /&gt; &lt;BR /&gt;      program Bug &lt;BR /&gt;      use DFWin &lt;BR /&gt;      integer (4) ret &lt;BR /&gt;      ! ret = DefWindowProc(0,0,0,0) &lt;BR /&gt;      ret = loc(DefWindowProc) &lt;BR /&gt;      end &lt;BR /&gt; &lt;BR /&gt;generates the messages &lt;BR /&gt; &lt;BR /&gt;Compiling Fortran... &lt;BR /&gt;S:UsersStuartTESTBug&amp;#8;ug.for &lt;BR /&gt;Linking... &lt;BR /&gt;bug.obj : error LNK2001: unresolved external symbol _DefWindowProcA &lt;BR /&gt;Debug/Bug.exe : fatal error LNK1120: 1 unresolved externals &lt;BR /&gt;Error executing link.exe. &lt;BR /&gt; &lt;BR /&gt;Bug.exe - 2 error(s), 0 warning(s) &lt;BR /&gt; &lt;BR /&gt;By simply uncommenting the line "ret = DefWindowProc(...)", things work fine! &lt;BR /&gt; &lt;BR /&gt;Stuart.</description>
    <pubDate>Tue, 04 Sep 2001 23:49:24 GMT</pubDate>
    <dc:creator>Dalziel__Stuart</dc:creator>
    <dc:date>2001-09-04T23:49:24Z</dc:date>
    <item>
      <title>Linking error</title>
      <link>https://community.intel.com/t5/Software-Archive/Linking-error/m-p/965829#M22829</link>
      <description>A strange little bug with v6.6: when using loc(..) to get an integer pointer to a Windows function (e.g. DefWindowProc), then a link error message is generated unless the function is also referred to directly in that module. &lt;BR /&gt; &lt;BR /&gt;For example, the code &lt;BR /&gt; &lt;BR /&gt;      program Bug &lt;BR /&gt;      use DFWin &lt;BR /&gt;      integer (4) ret &lt;BR /&gt;      ! ret = DefWindowProc(0,0,0,0) &lt;BR /&gt;      ret = loc(DefWindowProc) &lt;BR /&gt;      end &lt;BR /&gt; &lt;BR /&gt;generates the messages &lt;BR /&gt; &lt;BR /&gt;Compiling Fortran... &lt;BR /&gt;S:UsersStuartTESTBug&amp;#8;ug.for &lt;BR /&gt;Linking... &lt;BR /&gt;bug.obj : error LNK2001: unresolved external symbol _DefWindowProcA &lt;BR /&gt;Debug/Bug.exe : fatal error LNK1120: 1 unresolved externals &lt;BR /&gt;Error executing link.exe. &lt;BR /&gt; &lt;BR /&gt;Bug.exe - 2 error(s), 0 warning(s) &lt;BR /&gt; &lt;BR /&gt;By simply uncommenting the line "ret = DefWindowProc(...)", things work fine! &lt;BR /&gt; &lt;BR /&gt;Stuart.</description>
      <pubDate>Tue, 04 Sep 2001 23:49:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Linking-error/m-p/965829#M22829</guid>
      <dc:creator>Dalziel__Stuart</dc:creator>
      <dc:date>2001-09-04T23:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linking error</title>
      <link>https://community.intel.com/t5/Software-Archive/Linking-error/m-p/965830#M22830</link>
      <description>Please send this to vf-support@compaq.com so that it gets tracked and fixed.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 05 Sep 2001 01:01:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Linking-error/m-p/965830#M22830</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-09-05T01:01:37Z</dc:date>
    </item>
  </channel>
</rss>

