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!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <42F385DD.98733900@hp.com> From: cdm X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: sizeof in ADA References: <1123252961.173046.299550@o13g2000cwo.googlegroups.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 05 Aug 2005 15:46:16 GMT NNTP-Posting-Host: 16.28.192.155 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1123256776 16.28.192.155 (Fri, 05 Aug 2005 08:46:16 PDT) NNTP-Posting-Date: Fri, 05 Aug 2005 08:46:16 PDT Organization: Hewlett-Packard Company Xref: g2news1.google.com comp.lang.ada:3981 Date: 2005-08-05T15:46:16+00:00 List-Id: Ada 83 says X'SIZE returns the number of bits allocated to hold the object. 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);