From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0077c2a3f44fc09 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Port LPT + ADA References: <41b0f053$0$30702$ba620e4c@news.skynet.be> In-Reply-To: <41b0f053$0$30702$ba620e4c@news.skynet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 04 Dec 2004 00:51:36 GMT NNTP-Posting-Host: 63.186.0.31 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1102121496 63.186.0.31 (Fri, 03 Dec 2004 16:51:36 PST) NNTP-Posting-Date: Fri, 03 Dec 2004 16:51:36 PST Xref: g2news1.google.com comp.lang.ada:6749 Date: 2004-12-04T00:51:36+00:00 List-Id: Adrien Plisson wrote: > at a higher level you might try opening a file named "LPT1"... > > using the CreateFile function passing "LPT1" as the file name, > OPEN_EXISTING as dwCreationDisposition, and... well let's quote the MSDN: At a higher level, you could use Ada's I/O facilities to open this file. I've written to LPT1 using Ada.Text_IO and creating the file; I've never tried reading from it. -- Jeff Carter "Don't knock masturbation. It's sex with someone I love." Annie Hall 45