comp.lang.ada
 help / color / mirror / Atom feed
* Conversion of access types ...
@ 1997-04-30  0:00 t_mjb
  1997-05-03  0:00 ` Simon Wright
  0 siblings, 1 reply; 3+ messages in thread
From: t_mjb @ 1997-04-30  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-05-03  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-30  0:00 Conversion of access types t_mjb
1997-05-03  0:00 ` Simon Wright
1997-05-03  0:00   ` John G. Volan

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