<?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 Sorry I meant that by using in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023736#M108854</link>
    <description>&lt;P&gt;Sorry I meant that by using the DynamicLoad example in the 11.1 Samples directory (DLL\DLL\DynamicLoad), I was able to create a similar bit of code but using my subroutine names. &amp;nbsp;I have 13.1 and looked at the equivalent there, but did not follow it at all... &amp;nbsp;so that is why I went back to 11.1 syntax / methods. &amp;nbsp;But when I implemented this code I got the attached warnings.&lt;/P&gt;

&lt;P&gt;So are you saying that the example in 11.1 does not conform with Fortran 2008 standards?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;There has never been a "Delay Load" sample in Intel Visual Fortran. Furthermore, the quoted text does not appear in any of the 11.1 samples, and the samples don't enable standards checking.&lt;/P&gt;

&lt;P&gt;It is certainly true that the "integer pointer" syntax is non-standard, so if you ask for standards warnings you'd get that error. Given that, using integer pointers for procedures is also nonstandard, though this seems a bit silly to complain about. The current compiler does give these warnings if you ask for standards warnings, which is correct.&lt;/P&gt;

&lt;P&gt;A more recent version of DynamicLoad shows how to do procedure pointers in a standard-conforming manner.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2014 15:43:59 GMT</pubDate>
    <dc:creator>Adrian_F_1</dc:creator>
    <dc:date>2014-10-14T15:43:59Z</dc:date>
    <item>
      <title>Delay load DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023733#M108851</link>
      <description>&lt;P&gt;I am looking at the delay load example under DLL\DLL in the samples in 11.1.065.&lt;/P&gt;

&lt;P&gt;This has&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pointer (p_SET_VENDOR_KEY, SET_VENDOR_KEY)&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;INTERFACE&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SUBROUTINE SET_VENDOR_KEY(VENDOR_KEY)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHARACTER(LEN=10), INTENT(IN) :: VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; END SUBROUTINE SET_VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; END INTERFACE&lt;/P&gt;

&lt;P&gt;But when I compile I get&amp;nbsp;&lt;/P&gt;

&lt;P&gt;warning #7028: Integer pointer non-standard&lt;/P&gt;

&lt;P&gt;warning #7372: Procedures as pointees is not supported in Fortran 2008 standard. &amp;nbsp; [SET_VENDOR_KEY]&lt;/P&gt;

&lt;P&gt;for each of the above constructs respectively. &amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Is this format being deprecated?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I am compiling in&amp;nbsp;&lt;/SPAN&gt;XE 2013 SP1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 13:20:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023733#M108851</guid>
      <dc:creator>Adrian_F_1</dc:creator>
      <dc:date>2014-10-14T13:20:33Z</dc:date>
    </item>
    <item>
      <title>The 13.1 compiler doesn't</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023734#M108852</link>
      <description>&lt;P&gt;The&amp;nbsp;13.1 compiler doesn't complain about that code snippet:&lt;/P&gt;

&lt;P&gt;C:\ISN_Forums\U533506&amp;gt;cat U533506.f90&lt;BR /&gt;
	program U533506&lt;/P&gt;

&lt;P&gt;pointer (p_SET_VENDOR_KEY, SET_VENDOR_KEY)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTERFACE&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBROUTINE SET_VENDOR_KEY(VENDOR_KEY)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER(LEN=10), INTENT(IN) :: VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END SUBROUTINE SET_VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END INTERFACE&lt;/P&gt;

&lt;P&gt;end program U533506&lt;BR /&gt;
	C:\ISN_Forums\U533506&amp;gt;ifort -c U533506.f90&lt;BR /&gt;
	Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607&lt;BR /&gt;
	Copyright (C) 1985-2013 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	C:\ISN_Forums\U533506&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Perhaps the sample has been modified or removed in some version after 11.1.&amp;nbsp; In the 13.1 compiler, I see subfolder 'DynamicLoad' after expanding DLL.zip from the Samples folder -- is that what you are referring to?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 15:17:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023734#M108852</guid>
      <dc:creator>pbkenned1</dc:creator>
      <dc:date>2014-10-14T15:17:26Z</dc:date>
    </item>
    <item>
      <title>There has never been a "Delay</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023735#M108853</link>
      <description>&lt;P&gt;There has never been a "Delay Load" sample in Intel Visual Fortran. Furthermore, the quoted text does not appear in any of the 11.1 samples, and the samples don't enable standards checking.&lt;/P&gt;

&lt;P&gt;It is certainly true that the "integer pointer" syntax is non-standard, so if you ask for standards warnings you'd get that error. Given that, using integer pointers for procedures is also nonstandard, though this seems a bit silly to complain about. The current compiler does give these warnings if you ask for standards warnings, which is correct.&lt;/P&gt;

&lt;P&gt;A more recent version of DynamicLoad shows how to do procedure pointers in a standard-conforming manner.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 15:33:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023735#M108853</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-14T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Sorry I meant that by using</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023736#M108854</link>
      <description>&lt;P&gt;Sorry I meant that by using the DynamicLoad example in the 11.1 Samples directory (DLL\DLL\DynamicLoad), I was able to create a similar bit of code but using my subroutine names. &amp;nbsp;I have 13.1 and looked at the equivalent there, but did not follow it at all... &amp;nbsp;so that is why I went back to 11.1 syntax / methods. &amp;nbsp;But when I implemented this code I got the attached warnings.&lt;/P&gt;

&lt;P&gt;So are you saying that the example in 11.1 does not conform with Fortran 2008 standards?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;There has never been a "Delay Load" sample in Intel Visual Fortran. Furthermore, the quoted text does not appear in any of the 11.1 samples, and the samples don't enable standards checking.&lt;/P&gt;

&lt;P&gt;It is certainly true that the "integer pointer" syntax is non-standard, so if you ask for standards warnings you'd get that error. Given that, using integer pointers for procedures is also nonstandard, though this seems a bit silly to complain about. The current compiler does give these warnings if you ask for standards warnings, which is correct.&lt;/P&gt;

&lt;P&gt;A more recent version of DynamicLoad shows how to do procedure pointers in a standard-conforming manner.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 15:43:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023736#M108854</guid>
      <dc:creator>Adrian_F_1</dc:creator>
      <dc:date>2014-10-14T15:43:59Z</dc:date>
    </item>
    <item>
      <title>Yes you need standards</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023737#M108855</link>
      <description>&lt;P&gt;Yes you need standards checking on to get the messages. &amp;nbsp;I did see the new version of the example in 13.1 but couldn't work it out, so I went back to the 11.1 version of it.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Patrick Kennedy (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The&amp;nbsp;13.1 compiler doesn't complain about that code snippet:&lt;/P&gt;

&lt;P&gt;C:\ISN_Forums\U533506&amp;gt;cat U533506.f90&lt;BR /&gt;
	program U533506&lt;/P&gt;

&lt;P&gt;pointer (p_SET_VENDOR_KEY, SET_VENDOR_KEY)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTERFACE&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBROUTINE SET_VENDOR_KEY(VENDOR_KEY)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER(LEN=10), INTENT(IN) :: VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END SUBROUTINE SET_VENDOR_KEY&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END INTERFACE&lt;/P&gt;

&lt;P&gt;end program U533506&lt;BR /&gt;
	C:\ISN_Forums\U533506&amp;gt;ifort -c U533506.f90&lt;BR /&gt;
	Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607&lt;BR /&gt;
	Copyright (C) 1985-2013 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;C:\ISN_Forums\U533506&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Perhaps the sample has been modified or removed in some version after 11.1.&amp;nbsp; In the 13.1 compiler, I see subfolder 'DynamicLoad' after expanding DLL.zip from the Samples folder -- is that what you are referring to?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 15:45:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023737#M108855</guid>
      <dc:creator>Adrian_F_1</dc:creator>
      <dc:date>2014-10-14T15:45:40Z</dc:date>
    </item>
    <item>
      <title>Correct - the 11.1 sample is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023738#M108856</link>
      <description>&lt;P&gt;Correct - the 11.1 sample is nonstandard. But that's often the case when calling Windows APIs.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 15:47:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Delay-load-DLL/m-p/1023738#M108856</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-14T15:47:17Z</dc:date>
    </item>
  </channel>
</rss>

