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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,347f7cbe27451012,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-Id: <3343563.psPA6e9Oqh@linux1.krischik.com> From: Martin Krischik Subject: [ranting] Take Command Plugin, Win32Ada and Ada.Directories Newsgroups: comp.lang.ada Date: Mon, 12 Nov 2007 20:53:10 +0100 User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.75.167.107 (84.75.167.107) NNTP-Posting-Date: Mon, 12 Nov 2007 21:00:04 +0100 X-Trace: 68d694738b0c4f1ee02ce26409 Xref: g2news1.google.com comp.lang.ada:18326 Date: 2007-11-12T20:53:10+01:00 List-Id: Hello, For a while I work on a Plugin [1] for 4NT [2] and Take Command. I got the first release out. Yes it lives. This is real great fun. First there is Win32Ada. Win32 itself is a pain - but Win32Ada makes it even worse by using library level access types everywhere - even when anonymous access or "in out" would be far more appropriate. But what really saddens me is the fact that Ada 2005 still uses String for filenames. I just found out that Ada.Directories.Search chokes on filenames with wide characters. Since Windows uses UTF-16 for filenames even a simple Latin-1 "�" is in that group. Anyway, if you want to have a good laugh at code using Win32Ada you can download the sources from: http://code.google.com/p/mkutils/downloads/list Martin [1] http://www.jpsoftwiki.com/wiki/index.php?title=MkUtils_%28plugin%29 [2] http://www.jpsoft.com/ -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com