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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90e68bedbc7e7ae1 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: how to access Serial port in ada? Date: 1996/11/22 Message-ID: <329621BE.38BD@gsfc.nasa.gov>#1/1 X-Deja-AN: 198144270 references: <01bbd701$db4b39a0$05894fce@Li'sComputer.cyberoffice.com> <3294932E.56BC@thomsoft.com> <3295AF99.348B@gsfc.nasa.gov> <1996Nov22.103852.1@eisner> content-type: text/plain; charset=us-ascii organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA mime-version: 1.0 reply-to: Stephen.Leake@gsfc.nasa.gov newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; U) Date: 1996-11-22T00:00:00+00:00 List-Id: Larry Kilgallen wrote: > > In article <3295AF99.348B@gsfc.nasa.gov>, Stephen Leake 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