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,564409da6c450633 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: OpenGl and ADA95 by Aonix Date: 1998/02/13 Message-ID: <34E46D9D.2DE5@gsfc.nasa.gov>#1/1 X-Deja-AN: 324780431 Content-Transfer-Encoding: 7bit References: <6c0pv1$os9$1@front1.grolier.fr> Content-Type: text/plain; charset=us-ascii Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Mime-Version: 1.0 Reply-To: Stephen.Leake@gsfc.nasa.gov Newsgroups: comp.lang.ada Date: 1998-02-13T00:00:00+00:00 List-Id: Colson Eric wrote: > I've seen in the package glut.ads for Gnat that the specification for > GlutInit is: > > procedure glutInit (argcp : access Integer; > argv : access Interfaces.C.Strings.Chars_Ptr); > pragma Import (C, glutInit, "glutInit", "glutInit"); > > With Aonix, the problem is the parameters look like not to be recognize. I > obtain at the moment of the execution the following message : > "exception raised : constraint error > exception message : access error" > This means that you are passing a null pointer. If you post the code that calls glutInit, maybe we can help more. -- - Stephe