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-Thread: 103376,6b4015030847e90a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!k70g2000cwa.googlegroups.com!not-for-mail From: "Philippe Bertin" Newsgroups: comp.lang.ada Subject: Re: PSTR to Ada String. Date: 26 Oct 2006 01:13:22 -0700 Organization: http://groups.google.com Message-ID: <1161850402.541437.290580@k70g2000cwa.googlegroups.com> References: <1161809413.511008.220720@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: 213.224.97.56 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1161850407 22520 127.0.0.1 (26 Oct 2006 08:13:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 26 Oct 2006 08:13:27 +0000 (UTC) In-Reply-To: <1161809413.511008.220720@h48g2000cwc.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050715 Firefox/1.0.6 SUSE/1.0.6-16,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k70g2000cwa.googlegroups.com; posting-host=213.224.97.56; posting-account=Lwp90A0AAACFPCXxenE5d4DXfE23834K Xref: g2news2.google.com comp.lang.ada:7207 Date: 2006-10-26T01:13:22-07:00 List-Id: Jade, You may want to have a look at GtkAda, which is an Ada binding to the (C-written) gtk library. There's good examples in there on how to convert from and to C string (and a whole lot of other C- types in general) Kind regards, PhB Jade wrote: ... > I was wondering if there is way of converting PSTR to an > ada string.