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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e016ae58737f34 X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: win32ada design question/problem Date: 1998/11/17 Message-ID: <3651EACC.5A9DAC3D@elca-matrix.ch>#1/1 X-Deja-AN: 412904494 Content-Transfer-Encoding: 7bit References: <364C5EDE.4F402D13@elca-matrix.ch> <72i3r9$o1r$1@nnrp1.dejanews.com> <72s2as$pbg$1@nnrp1.dejanews.com> <36519A6A.C07508F5@elca-matrix.ch> <72shhh$8cg$1@nnrp1.dejanews.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: ELCA Matrix SA Mime-Version: 1.0 Reply-To: Mats.Weber@elca-matrix.ch Newsgroups: comp.lang.ada Date: 1998-11-17T00:00:00+00:00 List-Id: dennison@telepath.com wrote: > The "portable" alternative we are given is Interfaces.C.Pointers. But its a > real pain to use for routines where the input object could be any type. Interfaces.C.Pointers also has the nasty problem that you must use 'Unchecked_Access instead of 'Access all the time, unless you instantiate it in the same scope as your objects. Also, as you are interfacing Zlib, you will be dealing with untyped pointers all the time, so I think System.Address is really the way to go.