From: "J�rgen �hman" <oh.man@lulea.mail.telia.com>
Subject: argv and argc access?
Date: 1998/09/28
Date: 1998-09-28T00:00:00+00:00 [thread overview]
Message-ID: <AB36A0767CCCF111.F0BDA36E20C5E2BD.42513EFBFC4154EC@library-proxy.airnews.net> (raw)
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
next reply other threads:[~1998-09-28 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-28 0:00 J�rgen �hman [this message]
1998-09-28 0:00 ` argv and argc access? Frank Ecke
1998-09-28 0:00 ` Steve Doiel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox