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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,be6e28f854440947 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.mixmin.net!news.albasani.net!not-for-mail From: "Frank J. Lhota" Newsgroups: comp.lang.ada Subject: Re: How to get the mouse position with JEWL? Date: Fri, 22 Oct 2010 06:10:59 -0400 Organization: albasani.net Message-ID: References: <1dbwvwvv5nn1h.1s4mepzsbnf54.dlg@40tude.net> Reply-To: FrankLho.NOSPAM@rcn.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net hTKs+I/Hp+Aopxk3d2PoJJ2zpbp0TfMeIGcmmbD5iJ00Mn4uoHFr9Dvp+MMglwMi5QVgSaFGQa6ROuahfznwKspnqDCObgNSA/Jery3B5tnTFEf6MepfJ5Kxh9zIlDis NNTP-Posting-Date: Fri, 22 Oct 2010 10:11:10 +0000 (UTC) In-Reply-To: Cancel-Lock: sha1:Ip83ymD9xnD7e3DGQ8r7vF4iVFA= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 Injection-Info: news.albasani.net; logging-data="GzDYkHUwrXbpfemzSie+T9ZjLRuIud/GBEkOyx79+DsnHvEKI3zBEWCcY/vEOBN+UPdAln0S2T7AdlCMIxIzaFzH/ME7ZiTPYvplHNcpy9c8WmYo4S+kWQFywVaO3ZrM"; mail-complaints-to="abuse@albasani.net" Xref: g2news1.google.com comp.lang.ada:14672 Date: 2010-10-22T06:10:59-04:00 List-Id: On 10/21/2010 8:39 PM, tmoran@acm.org wrote: > An "address" on a Wintel architecture is a segment and an offset. > (remember memory models?) So Janus Ada's System.Address is a segment > and an offset. PVOID is a C pointer, which is only an offset, the same as > an Ada access value in Janus Ada. In Win16, an address is a segment and an offset. Win32 has a flat memory model, where an address is simply a 32 bit offset into a virtual space. -- "All things extant in this world, Gods of Heaven, gods of Earth, Let everything be as it should be; Thus shall it be!" - Magical chant from "Magical Shopping Arcade Abenobashi" "Drizzle, Drazzle, Drozzle, Drome, Time for this one to come home!" - Mr. Wizard from "Tooter Turtle"