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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a6be14714ade8938 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Help me! Date: 1999/05/11 Message-ID: <7h9ne8$9g8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 476631795 References: <37380E05.FDC4E1C5@solar.dhiltd.co.kr> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue May 11 16:55:39 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-05-11T00:00:00+00:00 List-Id: In article <37380E05.FDC4E1C5@solar.dhiltd.co.kr>, ktxleemg@solar.dhiltd.co.kr wrote: > Lady and gentleman.! > > I'm beginner in Ada 95. > How do I communicate with RS232 with Ada95? > I use a win95 as a OS. This is almost becomming a FAQ. If you just want simple interaction, you can use one of the Ada.*_IO packages to open the device ("COM1:" or "COM2:" most likely, depending on your PC's port setup) as a file. If you want more control (eg: setting timeouts) then you will need to make Win32 system calls just like any C programmer. To link to the Win32 system calls, you will need a set of Ada/Win32 bindings for the routines you want to use. If you are feeling mildly adventerous, you can write own. Otherwise, I believe you can get a set from www.adapower.com -- T.E.D. --== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.---