From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bb020506b8efd1bb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!irazu.switch.ch!switch.ch!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: sizeof in ADA Date: Fri, 05 Aug 2005 19:16:57 +0200 Organization: Cablecom Newsserver Message-ID: <4709219.GofGWy0uIu@linux1.krischik.com> References: <1123252961.173046.299550@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 84-73-3-177.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1123262368 4217 84.73.3.177 (5 Aug 2005 17:19:28 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Fri, 5 Aug 2005 17:19:28 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:3985 Date: 2005-08-05T19:16:57+02:00 List-Id: 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