comp.lang.ada
 help / color / mirror / Atom feed
From: t_mjb@linkabit.titan.com
Subject: Conversion of access types ...
Date: 1997/04/30
Date: 1997-04-30T00:00:00+00:00	[thread overview]
Message-ID: <5k64m8$jv4@taxis.corp.titan.com> (raw)


type F is tagged record A: Integer; end record;
type P is access all F;

I am trying to convert a variable of type P to an unsigned long (ULONG) which will
allow me to pass this value on to a system procedure which will, when the data
finally arrives at its destination, will be converted back into type P.

I cannot seem to get this scenario to work and I cannot think of another way to
make it work. I'm using GNAT 3.09 and OS/2 emx 0.9c (the variable of type P is being
set using WinSetWindowULong and retrieved using WinQueryWindowULong...any help
would be greatly appreciated.

Marc Bejerano




             reply	other threads:[~1997-04-30  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-30  0:00 t_mjb [this message]
1997-05-03  0:00 ` Conversion of access types Simon Wright
1997-05-03  0:00   ` John G. Volan
replies disabled

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