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,aee2096dd40821a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-31 11:58:17 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!peerfeed.news.psi.net!filter.news.psi.net!reader.dist.news.psi.net!client!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: serial port programming X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 Message-ID: Date: Wed, 30 May 2001 22:15:39 -0500 NNTP-Posting-Host: 156.46.62.124 X-Trace: client 991335496 156.46.62.124 (Thu, 31 May 2001 14:58:16 EDT) NNTP-Posting-Date: Thu, 31 May 2001 14:58:16 EDT Xref: archiver1.google.com comp.lang.ada:7946 Date: 2001-05-30T22:15:39-05:00 List-Id: Ted Dennison wrote in message ... >In article , EtienneB says... >> >>I thought it may exist portable libs... >> >>=> For win9x or NT > >None that I know of (not even for non-Ada languages). > >For NT there are special serial port mode setting calls you can make, which may >or may not work on 9x. You should consult a good Win32 reference manual. If you >are using Gnat, there are bindings the Win32 system calls that come with the >compiler. I believe the same goes for Aonix. The serial port mode routines do work on 9x etc. >Also, there's most likely a nice, high-level way to do it with the Claw >facility. Thanks for the plug, but in fact there isn't a facility in Claw for this. When we started building Claw, we decided to avoid creating stuff that already exists in Ada 95. I/O clearly is in that category, although the serial port access clearly is a special case. It would be easy enough to build such a thing (Janus/Ada has a package for that purpose, based on the Windows 3.1 (16-bit) version of serial access; adapting that code to use Streams wouldn't be too hard). But, of course, we only promise to implement new features for customers. Randy Brukardt R.R. Software, Inc.