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 X-Google-Thread: 103376,31ce6e75e49802e0,start X-Google-Attributes: gid103376,public From: "J�rgen �hman" Subject: argv and argc access? Date: 1998/09/28 Message-ID: #1/1 X-Deja-AN: 395576252 Content-Transfer-Encoding: 8bit X-Orig-Message-ID: <360F8141.389EA008@lulea.mail.telia.com> Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Time: Mon Sep 28 06:30:17 1998 Organization: Airnews.net! at Internet America NNTP-Proxy-Relay: library.airnews.net Mime-Version: 1.0 Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: comp.lang.ada Date: 1998-09-28T00:00:00+00:00 List-Id: I�m writing an opengl application using ada at my work. The application needs to use full screen mode (not just a maximized window). The glut library provides a full screen mode but to initialize glut i need to pass the unmodified argv and argc c-parameters to the glutInit procedure. But how can i access these in ada? I have seen a couple of examples where they are imported: (something like) argc : aliased integer; pragma Import (C, argc, "gnat_argc"); but the linker doesn�t find the name ("link error: LNK2001: unsolved external gnat_argc) What am i supposed to do? Thanks /J�rgen