comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: sizeof in ADA
Date: Fri, 05 Aug 2005 19:16:57 +0200
Date: 2005-08-05T19:16:57+02:00	[thread overview]
Message-ID: <4709219.GofGWy0uIu@linux1.krischik.com> (raw)
In-Reply-To: 1123252961.173046.299550@o13g2000cwo.googlegroups.com

sisi.ard@laposte.net wrote:

> I would like to know how to write an equivolent of the C function
> "sizeof "
> in Win32ADA to use with the GDI function " getobject " like this :
> 
> Buffer_Size:=Getobject(Mon_Bitmap,
>          Sizeof(Bitmap), -- this line obviously don't works
>          Buffer);

See:

http://en.wikibooks.org/wiki/Programming:Ada:Attributes:'Size


Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



      parent reply	other threads:[~2005-08-05 17:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 14:42 sizeof in ADA sisi.ard
2005-08-05 14:57 ` Lutz Donnerhacke
2005-08-05 15:19   ` Marc A. Criley
2005-08-05 15:46     ` Lutz Donnerhacke
2005-08-05 15:15 ` Georg Bauhaus
2005-08-05 15:46 ` cdm
2005-08-05 16:00 ` Jeffrey Carter
2005-08-05 17:16 ` Martin Krischik [this message]
replies disabled

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