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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,12b7dcfd0003f331,start X-Google-Attributes: gid103376,public From: d96knut@dtek.chalmers.se (Knut Wannheden) Subject: problems with GLUT Date: 1998/11/06 Message-ID: <71vesd$evd$1@nyheter.chalmers.se>#1/1 X-Deja-AN: 409102367 Content-Type: text/plain; charset=us-ascii Organization: Chalmers University of Technology Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-11-06T00:00:00+00:00 List-Id: -- I have problems with GLUT and the menu callback function. I have written a program with ObjectAda 7.1.1 and GLUT 3.6. For some reason the program always crashes when I select an entry in a pop-up menu that I have added to the program's window. There seems to be something strange with the menu callback function; I register the callback with glutCreateMenu(). The callback function is supposed to take one argument (Integer). If I register a callback function that takes no arguments then the program doesn't crash. Of course I'd want to do something with the argument ;) Has anyone else experienced similar problems before? Knut Wannheden