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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e016ae58737f34 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: win32ada design question/problem Date: 1998/11/20 Message-ID: <7349cb$v39$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 413847680 References: <731rn7$kj5@lotho.delphi.com> <7324a6$4fs$1@nnrp1.dejanews.com> <3654a7f3.11586041@news.pacbell.net> X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Nov 20 17:37:18 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1998-11-20T00:00:00+00:00 List-Id: In article <3654a7f3.11586041@news.pacbell.net>, tmoran@bix.com (Tom Moran) wrote: > >But there *has* to be a binding at this level somewhere! It might not be > >directly called by most users, but it still has to be there. > Clearly. But also clearly such 'dirty work' should be encapsulated > inside a pretty, understandable, robust, etc box. > That I can agree with. The dirty work should be buried somewhere and given a nice safe (hopefully fully-functional) interface. That's the first thing I do when I have to make OS calls. I don't use Win32 Ada at the moment, but if I did I'd probably just make my own high-level packages for the routines I need, and paste the relevent Win32 bindings into the package bodies. I did exactly that with the DDE functionality a few years ago. If I'm not unique in that respect, perhaps it would be a good idea to set up a place to accumulate everyone's high-level bindings. Something more ambitious could be setup later. Simply making them available so there isn't a horrible amount of duplication going on would be a worthy effort. I'd consider contributing, but I don't use Win32, and I won't as long as I can't legaly do it. -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own