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,d05f012b759bd43a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 09 Jun 2006 00:47:37 +0200 From: Gautier User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with a C string to Ada conversion References: <44889ac7$1_5@news.bluewin.ch> In-Reply-To: <44889ac7$1_5@news.bluewin.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.77.236.38 X-Original-NNTP-Posting-Host: 83.77.236.38 Message-ID: <4488a944$1_6@news.bluewin.ch> X-Trace: news.bluewin.ch 1149806916 83.77.236.38 (9 Jun 2006 00:48:36 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:4717 Date: 2006-06-09T00:47:37+02:00 List-Id: OK, found it (beginning with reading the Manual about Dereference_Error...) - it was a null pointer on the C side. By initializing GL before calling GetString GLUT.Init; if GLUT.CreateWindow( "Test" ) = 0 then return; end if; it works now... G.