From: axtens <Bruce.Axtens@gmail.com>
Subject: Access to data indirection (newbie)
Date: Mon, 26 Nov 2007 23:10:49 -0800 (PST)
Date: 2007-11-26T23:10:49-08:00 [thread overview]
Message-ID: <1a812241-65fc-403a-927f-b2651b4107e3@s8g2000prg.googlegroups.com> (raw)
G'day everyone
I have a DLL which is receiving a value that is the result of a VARPTR
in VB6, so the value arriving is the address and the data desired can
be found at that address.
So far I've gotten as far as
function HandlePointer (
Left : in Win32.LONG)
return Win32.LONG is
begin
end HandlePointer;
which is, of course, brain-dead. Fact is, though, so far as Ada is
concerned, I'm a newbie.
So tell me, what's the syntax?
Once you've figured that one out, tell me how I'd handle 'Left'
pointing to a record of two integers, such that I can access both
elements of the record.
Kind regards,
Bruce.
next reply other threads:[~2007-11-27 7:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-27 7:10 axtens [this message]
2007-11-27 8:11 ` Access to data indirection (newbie) Martin Krischik
2007-11-27 17:32 ` Martin Krischik
2007-11-27 22:20 ` Simon Wright
2007-11-28 3:04 ` axtens
2007-11-28 3:45 ` axtens
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox