<?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 device access in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843855#M61824</link>
    <description>Is it possible to read the sectors from a floppy device (or any device) &lt;BR /&gt;starting at sector 0 with CVF? I've tried many OPEN variations with &lt;BR /&gt;no success.</description>
    <pubDate>Tue, 25 Jun 2002 20:17:55 GMT</pubDate>
    <dc:creator>ebb</dc:creator>
    <dc:date>2002-06-25T20:17:55Z</dc:date>
    <item>
      <title>device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843855#M61824</link>
      <description>Is it possible to read the sectors from a floppy device (or any device) &lt;BR /&gt;starting at sector 0 with CVF? I've tried many OPEN variations with &lt;BR /&gt;no success.</description>
      <pubDate>Tue, 25 Jun 2002 20:17:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843855#M61824</guid>
      <dc:creator>ebb</dc:creator>
      <dc:date>2002-06-25T20:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843856#M61825</link>
      <description>Have you tried opening the drive with a format of 'binary'?&lt;BR /&gt;&lt;BR /&gt;James</description>
      <pubDate>Wed, 26 Jun 2002 01:14:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843856#M61825</guid>
      <dc:creator>james1</dc:creator>
      <dc:date>2002-06-26T01:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843857#M61826</link>
      <description>Hmm, I'm skeptical that that would work.  If it did, it would require NT/2000/XP and administrator privilege and a filename of the form .PHYSICALDRIVEn, where "n" is a zero-based number for the drive.  The killer here is that there is a restriction that the I/O buffer be sector-aligned, which the CVF run-time library doesn't do.&lt;BR /&gt;&lt;BR /&gt;You'd be better off to call the Win32 CreateFile and ReadFile directly.  See the documentation for CreateFile.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 26 Jun 2002 03:50:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843857#M61826</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2002-06-26T03:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843858#M61827</link>
      <description>Steve, I don't see how calling CreateFile and ReadFile would differ in this case.  It seems like this was what that format was provided to do.  If you do reads using a buffer equivalent to the sector size, then I would expect the underlying ReadFile to remain in alignment.&lt;BR /&gt;&lt;BR /&gt;James</description>
      <pubDate>Wed, 26 Jun 2002 05:22:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843858#M61827</guid>
      <dc:creator>james1</dc:creator>
      <dc:date>2002-06-26T05:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843859#M61828</link>
      <description>The run-time library is going to read into its own buffer, not your variable. The RTL's buffer isn't going to be "sector aligned" (which is device-dependent.)&lt;BR /&gt;&lt;BR /&gt;It's easy enough to use CreateFile and ReadFile from CVF.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 26 Jun 2002 06:46:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843859#M61828</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2002-06-26T06:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: device access</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843860#M61829</link>
      <description>Thanks you both for your suggestions, I'll get right on it and keep you posted.</description>
      <pubDate>Wed, 26 Jun 2002 20:05:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/device-access/m-p/843860#M61829</guid>
      <dc:creator>ebb</dc:creator>
      <dc:date>2002-06-26T20:05:54Z</dc:date>
    </item>
  </channel>
</rss>

