From: mcc@tyrolia.cs.princeton.edu (Martin C. Carlisle)
Subject: Re: Using windows API functions
Date: 1998/07/10
Date: 1998-07-10T00:00:00+00:00 [thread overview]
Message-ID: <6o569h$p78$1@cnn.Princeton.EDU> (raw)
In-Reply-To: 900065152.385075@dedale.pandemonium.fr
In article <900065152.385075@dedale.pandemonium.fr>,
Antoine JORGE RIBEIRO <softst1@bruker.fr> wrote:
>hi!
>I desesperatly try to manage with the function ReadFile from Win32.Winbase,
>in object ada (Aonix) and I don't understand How to use it and How the
>lpBuffer : Win32.lpVoid might be used.
>what's lpVoid, How can I Point to an array of Byte (mod 2**8).
Win32Ada binds to C, where one can go from (void *) to (char *) at the
drop of a hat. In Ada, I'd suggest an Unchecked_Conversion from
your pointer type to Win32.lpvoid.
--Martin
--
Martin C. Carlisle, Computer Science, US Air Force Academy
mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html
DISCLAIMER: This content in no way reflects the opinions, standard or
policy of the US Air Force Academy or the United States Government.
next prev parent reply other threads:[~1998-07-10 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-10 0:00 Using windows API functions Antoine JORGE RIBEIRO
1998-07-10 0:00 ` Martin C. Carlisle [this message]
1998-07-10 0:00 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox