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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a402d78988bdf2b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-17 07:01:12 PST From: "Ekkehard Morgenstern" Newsgroups: comp.lang.ada Subject: Re: [announcement] SYSAPI and SYSSVC for Windows Date: Wed, 17 Dec 2003 16:00:59 +0100 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: p508c0b98.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: online.de 1071673272 6578 80.140.11.152 (17 Dec 2003 15:01:12 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Wed, 17 Dec 2003 15:01:12 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:3505 Date: 2003-12-17T16:00:59+01:00 List-Id: "Dmitry A. Kazakov" wrote: > I have used async I/O under Win95/98 3-4 years back from now. That was > serial port I/O. It worked that time. Maybe it will not, just because MS > claims that it will. (:-)) In the meantime (as stated in another post in this thread), I found the explanation in the ReadFileEx() API documentation: On Windows 95/98/ME, asynchronous I/O works only with serial and TCP/IP communication ports. Asynchronous I/O with disk files is permitted only on Windows NT/2000/XP. The other post of mine links to an updated version of my library which emulates asynchronous file I/O with synchronous I/O for Win95/98/ME to spare the programmer using the feature from getting an I/O error on these platforms. Asynchronous I/O is fun! :) It's also a useful feature on UNIXes, like AIX and Solaris, and since a couple of years, also available on GNU/Linux and the like. :)