comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: how to access Serial port in ada?
Date: 1996/11/22
Date: 1996-11-22T00:00:00+00:00	[thread overview]
Message-ID: <329621BE.38BD@gsfc.nasa.gov> (raw)
In-Reply-To: 1996Nov22.103852.1@eisner


Larry Kilgallen wrote:
> 
> In article <3295AF99.348B@gsfc.nasa.gov>, Stephen Leake <Stephen.Leake@gsfc.nasa.gov> writes:
> > Dave Wood wrote:
> >>
> >> Li Li wrote:
> >> >
> >> > I have ObjectAda student version. which runs under win95 and creates
> >> > console applications.
> >> >
> >> > How can i access serial port in ObjectAda.
> >>
> >> Write a device driver.
> >>
> >
> > If this is the best ObjectAda and Alsys/Thompson/Aonix (I wish they'd
> > stop changing names!) can do, I'm certainly not giving them my money!
> 
> Well for the student version, it would not have been much of your
> money.  I would think that someone who writes from Nasa.Gov might
> be more inclined toward the full version, including Windows bindings,
> etc.

You've misread; "Li Li" purchased ObjectAda; I'm just ranting.

> 
> > Surely you can access the Windows 95 comm port driver? Under Windows 3.1
> > and Borland C++, there was a binding to the Windows API functions for
> > the serial port (OpenComm, ReadComm, WriteComm). Surely ObjectAda can
> > provide a binding to these functions for Windows 95!?
> 
> I was under the impression that the term "console applications"
> with ObjectAda means what some people would call "DOS mode". If
> that is the case, relying on the Windows API is not viable,
> regardless of which version you bought.
> 

Under Borland, a "console application" is a real Windows application,
but it has a simple text based stdin stdout user interface, so it
"feels" like DOS. It can use all the Windows device drivers. I have not
used ObjectAda, but it can surely do something similar. I don't want to
have to tell people to use Borland!

> Larry Kilgallen
> who thinks Aonix is a much worse name than Thomson

-- 
- Stephe




  reply	other threads:[~1996-11-22  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bbd701$db4b39a0$05894fce@Li'sComputer.cyberoffice.com>
1996-11-21  0:00 ` how to access Serial port in ada? Dave Wood
1996-11-22  0:00   ` Stephen Leake
1996-11-22  0:00     ` Larry Kilgallen
1996-11-22  0:00       ` Stephen Leake [this message]
1996-11-25  0:00       ` Dave Wood
1996-11-28  0:00         ` Keith Thompson
1996-11-22  0:00     ` Wasiq Hasan
replies disabled

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