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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b346ee85d1aa69a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-18 10:10:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Accessing I/O Ports in Windows NT/2000 Date: 18 Jan 2002 08:09:11 +0100 Organization: Organized? Me? Sender: mb@jupiter.solar.system Message-ID: References: <3C45FC6C.2030208@mail1.monmouth.army.mil> <4519e058.0201170735.c5ff137@posting.google.com> <3C474180.8060306@mail1.monmouth.army.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1011377236 04 23629 rPxfT1xVEGauEw 020118 18:07:16 X-Complaints-To: abuse@t-online.com X-Sender: 320025674319-0001@t-dialin.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:19063 Date: 2002-01-18T08:09:11+01:00 List-Id: Jeffrey Glenn writes: > I was (am) hoping that I would not have to learn about writing device > drivers for Windows NT. I realize that Ada doesn't provide these > facilities, but I hoped to find that someone had already written such > an interface/wrapper package. Ada also doesn't support ODBC, TCP/IP, > nor Windows for that matter, but a lot has been written to bind with > them. > > Oh well, I guess I have to to be the first one sometimes. Maybe sometimes but not this time. You are looking for this: ftp://ftp.heise.de/pub/ct/ctsi/directnt.zip This is a generic IO device driver written for NT4. It also works with NT5/W2k. I've used it only from C/C++ programs yet, but since it is a driver it is used through Win32 API calls, for which the Ada bindings exist. I'm not sure if it can be used in commercial software.