comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: serial port programming
Date: Wed, 30 May 2001 22:15:39 -0500
Date: 2001-05-30T22:15:39-05:00	[thread overview]
Message-ID: <cvwR6.36$fM5.2016@client> (raw)
In-Reply-To: JucR6.5958$rn5.285250@www.newsranger.com

Ted Dennison wrote in message ...
>In article <SfaR6.2518$Fw2.4216934@nnrp5.proxad.net>, 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.






  reply	other threads:[~2001-05-31  3:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-30 16:13 serial port programming EtienneB
2001-05-30 17:17 ` David C. Hoos, Sr.
2001-05-30 17:40   ` EtienneB
2001-05-30 20:12     ` Ted Dennison
2001-05-31  3:15       ` Randy Brukardt [this message]
2001-06-01  0:21         ` Stream IO, was " tmoran
2001-05-30 20:24     ` Stephen Leake
2001-06-01  2:36       ` DuckE
  -- strict thread matches above, loose matches on Subject: below --
2003-01-23 22:47 Serial " Goochie
2003-01-24  0:25 ` John R. Strohm
2003-01-24  3:38 ` Steve
2003-01-28 19:54   ` Goochie
2003-01-24 15:18 ` Jerry Petrey
2003-01-26 18:16 ` William J. Thomsa
2003-01-28 18:04 ` Goochie
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox