* Re: how to access Serial port in ada? [not found] <01bbd701$db4b39a0$05894fce@Li'sComputer.cyberoffice.com> @ 1996-11-21 0:00 ` Dave Wood 1996-11-22 0:00 ` Stephen Leake 0 siblings, 1 reply; 7+ messages in thread From: Dave Wood @ 1996-11-21 0:00 UTC (permalink / raw) To: Li Li 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. One possibility that just dropped on my desk (I know nothing about it, I just happened to get this card in the mail today) is something called SoftwareWedge from TAL Technologies, www.taltech.com. From the card, it looks like it provides 2-way i/o from a serial port such that you have easy access from your application. You might look into it. > Also can I use this version to create GUI apps for win 95? if yes any place > i can find examples? Yes, of course. You can find numerous examples on the ObjectAda CD-ROM. Look in the samples folder and also the win32ada\samples folder. -- Dave Wood -- Product Manager, ObjectAda for Windows -- Aonix - "Ada with an Attitude" -- http://www.aonix.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 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 ` Wasiq Hasan 1996-11-22 0:00 ` Larry Kilgallen 0 siblings, 2 replies; 7+ messages in thread From: Stephen Leake @ 1996-11-22 0:00 UTC (permalink / raw) 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! 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!? Granted, Li Li didn't say what s/he wanted to do with the serial port, but it is VERY likely that the Windows 95 comm driver will suffice! Telling a newcomer to go write a device driver is NOT the way to market your company! -- - Stephe ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 1996-11-22 0:00 ` Stephen Leake @ 1996-11-22 0:00 ` Wasiq Hasan 1996-11-22 0:00 ` Larry Kilgallen 1 sibling, 0 replies; 7+ messages in thread From: Wasiq Hasan @ 1996-11-22 0:00 UTC (permalink / raw) >> >> 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! > >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!? > >Granted, Li Li didn't say what s/he wanted to do with the serial port, >but it is VERY likely that the Windows 95 comm driver will suffice! > >Telling a newcomer to go write a device driver is NOT the way to market >your company! >-- >- Stephe Thank You Mr.Stephen I just connected an external device connected to serial port to read temprature. I wrote a small program (20 lines)in QBASIC to read the input. I have a student version of ObjectADA for win95 therefor I jsut wanted to convert this QBASIC progarm to ADA under win95. anyway thankyou again for your advice. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 1996-11-22 0:00 ` Stephen Leake 1996-11-22 0:00 ` Wasiq Hasan @ 1996-11-22 0:00 ` Larry Kilgallen 1996-11-22 0:00 ` Stephen Leake 1996-11-25 0:00 ` Dave Wood 1 sibling, 2 replies; 7+ messages in thread From: Larry Kilgallen @ 1996-11-22 0:00 UTC (permalink / raw) 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. > 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. Larry Kilgallen who thinks Aonix is a much worse name than Thomson ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 1996-11-22 0:00 ` Larry Kilgallen @ 1996-11-22 0:00 ` Stephen Leake 1996-11-25 0:00 ` Dave Wood 1 sibling, 0 replies; 7+ messages in thread From: Stephen Leake @ 1996-11-22 0:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 1996-11-22 0:00 ` Larry Kilgallen 1996-11-22 0:00 ` Stephen Leake @ 1996-11-25 0:00 ` Dave Wood 1996-11-28 0:00 ` Keith Thompson 1 sibling, 1 reply; 7+ messages in thread From: Dave Wood @ 1996-11-25 0:00 UTC (permalink / raw) Larry Kilgallen wrote: > > 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. All versions of ObjectAda support console apps (looks like DOS, smells like DOS, but runs in a 95/NT console window, not under DOS itself.) If you want to make actual DOS executables, you need to add the OpenPack, which enables you to easily turn the console app into a 32-bit DOS executable via a DOS extender. DOS packages are available as well for DOS-level access. They can be downloaded at no charge from our web site (as soon as we get FTP re-connected to it - these name changes can be most inconvenient.) BTW, there is no such thing as the "student version" of ObjectAda. There is, however, student pricing. > Larry Kilgallen > who thinks Aonix is a much worse name than Thomson Okay, then, we'll change it back. :) -- Dave Wood -- Product Manager, ObjectAda for Windows -- Aonix - "Ada with an Attitude" -- http://www.aonix.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to access Serial port in ada? 1996-11-25 0:00 ` Dave Wood @ 1996-11-28 0:00 ` Keith Thompson 0 siblings, 0 replies; 7+ messages in thread From: Keith Thompson @ 1996-11-28 0:00 UTC (permalink / raw) In <329A2715.EE7@thomsoft.com> Dave Wood <dpw@thomsoft.com> writes: [...] > > Larry Kilgallen > > who thinks Aonix is a much worse name than Thomson > > Okay, then, we'll change it back. :) Argh, no, don't make me change my .sig again! 8-)} -- Keith Thompson (The_Other_Keith) kst@aonix.com <http://www.aonix.com> <*> TeleSo^H^H^H^H^H^H Alsy^H^H^H^H Thomson Softw^H^H^H^H^H^H^H^H^H^H^H^H^H Aonix 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706 "SPOON!" -- The Tick ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1996-11-28 0:00 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [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 ` Wasiq Hasan 1996-11-22 0:00 ` Larry Kilgallen 1996-11-22 0:00 ` Stephen Leake 1996-11-25 0:00 ` Dave Wood 1996-11-28 0:00 ` Keith Thompson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox