<?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 DLL_ROUT example question in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/829999#M51923</link>
    <description>I went through the example and upon creating a dll I used the DUMPBIN/exports command and I see _DLL_ROUT@20.&lt;BR /&gt;&lt;BR /&gt;I thought I should be able to see the variables at there byte size also?&lt;BR /&gt;&lt;BR /&gt;I cannot tell from the output how the variables are sized? Is there another area I should be looking at?&lt;BR /&gt;&lt;BR /&gt;The variables are below. It would seem to me that integer is 4 bytes. What about the hidden string size?&lt;BR /&gt;SUBROUTINE DLL_ROUT (INT_ARG, STR_IN, STR_OUT)&lt;BR /&gt;INTEGER INT_ARG&lt;BR /&gt;CHARACTER*(*) STR_IN, STR_OUT &lt;BR /&gt;&lt;BR /&gt;Thanks for any comments.&lt;BR /&gt;&lt;BR /&gt;Ken</description>
    <pubDate>Tue, 14 Jan 2003 23:31:46 GMT</pubDate>
    <dc:creator>pecan204</dc:creator>
    <dc:date>2003-01-14T23:31:46Z</dc:date>
    <item>
      <title>DLL_ROUT example question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/829999#M51923</link>
      <description>I went through the example and upon creating a dll I used the DUMPBIN/exports command and I see _DLL_ROUT@20.&lt;BR /&gt;&lt;BR /&gt;I thought I should be able to see the variables at there byte size also?&lt;BR /&gt;&lt;BR /&gt;I cannot tell from the output how the variables are sized? Is there another area I should be looking at?&lt;BR /&gt;&lt;BR /&gt;The variables are below. It would seem to me that integer is 4 bytes. What about the hidden string size?&lt;BR /&gt;SUBROUTINE DLL_ROUT (INT_ARG, STR_IN, STR_OUT)&lt;BR /&gt;INTEGER INT_ARG&lt;BR /&gt;CHARACTER*(*) STR_IN, STR_OUT &lt;BR /&gt;&lt;BR /&gt;Thanks for any comments.&lt;BR /&gt;&lt;BR /&gt;Ken</description>
      <pubDate>Tue, 14 Jan 2003 23:31:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/829999#M51923</guid>
      <dc:creator>pecan204</dc:creator>
      <dc:date>2003-01-14T23:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: DLL_ROUT example question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830000#M51924</link>
      <description>First of all, you can only DLLEXPORT variables from a MODULE, not from a routine.  Even if variables are exported, there is no size information given.  The @20 at the end of the routine name is defined by the STDCALL calling convention and specifies the number of bytes of stack pushed for the argument list, four for each pushed argument.  The string lengths are hidden argumenst so that makes a total of five pushed arguments - 5*4=20.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 16 Jan 2003 00:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830000#M51924</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-01-16T00:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: DLL_ROUT example question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830001#M51925</link>
      <description>Thanks Steve.&lt;BR /&gt;&lt;BR /&gt;One more question for Steve or anyone.&lt;BR /&gt;&lt;BR /&gt;Shouldn't I be able to see the .lib file somwhere called out in the project settings? I don't see any evidence that it has used the .lib file.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 19 Jan 2003 00:19:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830001#M51925</guid>
      <dc:creator>pecan204</dc:creator>
      <dc:date>2003-01-19T00:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: DLL_ROUT example question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830002#M51926</link>
      <description>The .lib is an output from building the DLL - it's not actually part of your project, any more than the DLL is.&lt;BR /&gt;&lt;BR /&gt;If you have an application that uses the DLL, then it has the .lib as an input.  This may be implicit if you use subprojects (Developer Studio automatically links against the .libs of DLL or static library subprojects).&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 19 Jan 2003 10:04:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/DLL-ROUT-example-question/m-p/830002#M51926</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-01-19T10:04:34Z</dc:date>
    </item>
  </channel>
</rss>

