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,e7b897dd31880f25 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: String Question Date: 1999/07/08 Message-ID: <7m19q2$313e$1@news.gate.net>#1/1 X-Deja-AN: 498427724 References: <931318014.909.29@news.remarQ.com> <7lujhq$284m$1@news.gate.net> <37841769.0@news.pacifier.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 931408514 99438 199.227.148.140 (8 Jul 1999 04:35:14 GMT) Organization: CyberGate, Inc. NNTP-Posting-Date: 8 Jul 1999 04:35:14 GMT Newsgroups: comp.lang.ada Date: 1999-07-08T04:35:14+00:00 List-Id: Now I don't have to worry about any of this, I just use the AdaWin binding that uses the Interfaces.C types directly. See - http://www.adapower.com/lab/adawin.html David Botton Steve Doiel wrote in message <37841769.0@news.pacifier.com>... >Personally I prefer to avoid the Unchecked_Conversion using: > >sBtn : Interfaces.C.CHAR_ARRAY := Interfaces.C.To_C("BUTTON"); >sRole : Interfaces.C.CHAR_ARRAY := Interfaces.C.To_C("Role"); >SZBUTTON : Win32.LPCSTR := sBtn(0)'UNCHECKED_ACCESS; >SZROLE : Win32.LPCSTR := sRole(0)'UNCHECKED_ACCESS; > >(It works) > >SteveD >