comp.lang.ada
 help / color / mirror / Atom feed
* OpenGl and ADA95 by Aonix
@ 1998-02-13  0:00 Colson Eric
  1998-02-13  0:00 ` Robert Dewar
  1998-02-13  0:00 ` Stephen Leake
  0 siblings, 2 replies; 5+ messages in thread
From: Colson Eric @ 1998-02-13  0:00 UTC (permalink / raw)



Hello,

I would like to interface Glut32.dll and Ada95 (I use the version by Aonix
under Win95) but I've got a problem with the function GlutInit and their
parameters.
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"

With the debugger, I've understand that this problem is due toGlutInit?

What can I do?

By advance.

Eric
















^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-02-16  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-13  0:00 OpenGl and ADA95 by Aonix Colson Eric
1998-02-13  0:00 ` Robert Dewar
1998-02-13  0:00 ` Stephen Leake
1998-02-16  0:00   ` Ken Thomas
1998-02-16  0:00     ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox