comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
Subject: Re: String Question
Date: 1999/07/08
Date: 1999-07-08T04:35:14+00:00	[thread overview]
Message-ID: <7m19q2$313e$1@news.gate.net> (raw)
In-Reply-To: 37841769.0@news.pacifier.com

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
>







           reply	other threads:[~1999-07-08  0:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <37841769.0@news.pacifier.com>]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox