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 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!news-fra1.dfn.de!news-kar1.dfn.de!npeer.de.kpn-eurorings.net!npeer-ng2.kpn.DE!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: [ranting] Take Command Plugin, Win32Ada and Ada.Directories From: Georg Bauhaus In-Reply-To: <2006492.lLU7WTsqkV@linux1.krischik.com> References: <3343563.psPA6e9Oqh@linux1.krischik.com> <1pkwbr5s12cf9$.9k2umlcxqzbr.dlg@40tude.net> <473A1241.90702@obry.net> <1vrktz0rlauvu.1nm0xh8n2wl90.dlg@40tude.net> <473ab86d$1@news.post.ch> <473ac065$0$16659$9b4e6d93@newsspool3.arcor-online.net> <473af503$1@news.post.ch> <1195047068.1007.278.camel@kartoffel> <16yvzzr9fekdo.1mb7ng8z7yt49$.dlg@40tude.net> <1195053185.1007.282.camel@kartoffel> <2006492.lLU7WTsqkV@linux1.krischik.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1195070755.18805.11.camel@kartoffel> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Date: Wed, 14 Nov 2007 21:05:55 +0100 Organization: Arcor NNTP-Posting-Date: 14 Nov 2007 21:04:42 CET NNTP-Posting-Host: ff465160.newsspool4.arcor-online.net X-Trace: DXC=NeDE;QK3OJZYQ5E:lRYH]6>V0`c3U=kbmW`a1fGWC`2T@AUZfC[OVMjm@5a82Y X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:18388 Date: 2007-11-14T21:04:42+01:00 List-Id: On Wed, 2007-11-14 at 20:23 +0100, Martin Krischik wrote: > > Not if there will be an EAStirngs revival for Win32. > > Your example should then read something like > > SetWindowText (Window, +"Hello!"); > > You forgot the null terminator - and as soon as you use "& Win32.Wide_Nul" > the compiler knows which character type is needed. Making the string suitable for SetWindowText is the presumed purpose of the "+" function. But yes, "&" will do :-)