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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ffe4fb1477fe67e6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!w5g2000hsg.googlegroups.com!not-for-mail From: ezkcdude Newsgroups: comp.lang.ada Subject: Re: Newbie Needs Ada Advice Date: 6 May 2007 14:46:21 -0700 Organization: http://groups.google.com Message-ID: <1178487981.388876.45930@w5g2000hsg.googlegroups.com> References: <1178212418.538270.283700@c35g2000hsg.googlegroups.com> <1fk217327jjhg$.r7isisod1xdf.dlg@40tude.net> NNTP-Posting-Host: 68.91.83.107 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1178487982 30020 127.0.0.1 (6 May 2007 21:46:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 6 May 2007 21:46:22 +0000 (UTC) In-Reply-To: <1fk217327jjhg$.r7isisod1xdf.dlg@40tude.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: w5g2000hsg.googlegroups.com; posting-host=68.91.83.107; posting-account=UbN39Q0AAADjt_3dTnzY1z4Qc9xnXw4K Xref: g2news1.google.com comp.lang.ada:15605 Date: 2007-05-06T14:46:21-07:00 List-Id: I have a couple more questions. I was reading about Tk as a cross- platform GUI toolkit, and there is an Ada binding called TASH. This seems like an interesting way to go. Have any of you guys used TASH or Tk from Ada? Also, would GtkAda/GLADE be cross-platform? Ideally, I'd like to write code that could be ported to Linux/OS X (and Windows obviously). Thanks. -evan On May 4, 2:48 pm, "Dmitry A. Kazakov" wrote: > On Fri, 4 May 2007 15:19:01 -0400, Bob Spooner wrote: > > "Dmitry A. Kazakov" wrote in message > >news:tylf07eikj2s.1khde2c9zxxku$.dlg@40tude.net... > >> On Fri, 4 May 2007 08:57:08 -0400, Bob Spooner wrote: > > >>> wrote in message > >>>news:a62dnVplZ7QMLKfbnZ2dnUVZ_uOmnZ2d@comcast.com... > >>>> ... I control my home X10 system with an Ada program using > >>>> the serial port with regular Windows calls. > > >>> Do you have an Ada binding for the Windows serial port driver that > >>> implements overlapped I/O? > > >> Win32.Winbase.ReadFile? > > ? > > Translation please? > > Windows API CreateFile / ReadFile / WriteFile do overlapped I/O for all > devices that support it. COM port does support it (though with Ada tasking > it is simpler to do input and output from two separate tasks, if > full-duplex I/O is all what you need. I don't know, maybe, you want to > handle 100+ ports, then possibly overlapped I/O would make sense.) Anyway, > you don't need any special bindings for doing overlapped I/O beyond Windows > API. > > -- > Regards, > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de