<?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: Serial Number not integer*4 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771799#M22938</link>
    <description>Ok, how do you call this function and display the value?  Is the function name declared as INTEGER*3 in the caller?</description>
    <pubDate>Fri, 24 Mar 2006 22:17:35 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2006-03-24T22:17:35Z</dc:date>
    <item>
      <title>Serial Number not integer*4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771796#M22935</link>
      <description>&lt;DIV&gt;I am using GetVolumeInformation to get the serial number.&lt;/DIV&gt;&lt;DIV&gt;I am expecting an integet*4 value to be returned.&lt;/DIV&gt;&lt;DIV&gt;Thisis what I get on my computer, but on another computer I get 49,684,256,597,454&lt;/DIV&gt;&lt;DIV&gt;Iexpect integer*4 to be in the range -2,147,483,648 to 2,147,483,647.&lt;/DIV&gt;&lt;DIV&gt;What is going on?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;David&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2006 16:38:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771796#M22935</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2006-03-23T16:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Number not integer*4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771797#M22936</link>
      <description>You must have an INTEGER*8 variable in there somewhere or else you wouldn't even be able to display a value that large.  How is it receiving the value?  What does your code look like?</description>
      <pubDate>Thu, 23 Mar 2006 21:35:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771797#M22936</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-03-23T21:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Number not integer*4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771798#M22937</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt; integer*4 Function VolSerialNo
! ------------------------------
! get volume serial number

  use dfwin

  integer*4 lpVolumeSerialNo
  character lpszDriveName*50,lpszSystemName*50,Volume*50
  logical*4 bRC

  lpszDriveName='c:'//char(0)
  bRC=GetVolumeInformation(lpszDriveName,Volume,50,LOC(lpVolumeSerialNo),NULL,NULL,lpszSystemName,32)
  VolSerialNo=iabs(lpVolumeSerialNo)

 end function&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Here is my code to get the volume number, it is an integer*4&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2006 17:56:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771798#M22937</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2006-03-24T17:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Number not integer*4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771799#M22938</link>
      <description>Ok, how do you call this function and display the value?  Is the function name declared as INTEGER*3 in the caller?</description>
      <pubDate>Fri, 24 Mar 2006 22:17:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771799#M22938</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-03-24T22:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Number not integer*4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771800#M22939</link>
      <description>I was being silly - I was doing other things between calling the function and displaying the result</description>
      <pubDate>Mon, 27 Mar 2006 16:18:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Serial-Number-not-integer-4/m-p/771800#M22939</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2006-03-27T16:18:48Z</dc:date>
    </item>
  </channel>
</rss>

