comp.lang.ada
 help / color / mirror / Atom feed
From: andi <ano@hrz.tu-chemnitz.de>
Subject: non-visible declaration...error
Date: 1999/11/26
Date: 1999-11-26T00:00:00+00:00	[thread overview]
Message-ID: <383EE59D.6691E0F8@hrz.tu-chemnitz.de> (raw)

I would compile these rows an I became an error:
  "wglCreateContext" is not visible
  non-visible declaration at win32-wingdi.ads:9157
  "wglMakeCurrent" is not visible
  non-visible declaration at win32-wingdi.ads:9179
Hmm... I use the GNAT for WinNT - Compiler 3.12 with the
win32ada-binding

Here the code:

  with System;
  with Win32.Windef;
  with Win32.Winuser;
  with Win32.Winmain;
  with Win32.Wingdi;

  procedure prog is
  -- some Var. and const
  begin
  -- Window creating things(handler,...)

  -- OpenGl-init
     RC := wglCreateContext(hInst);
     wglMakeCurrent(hInst,RC);

  -- some others
  end prog;

What can I do ???

Thanx
andi





             reply	other threads:[~1999-11-26  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-26  0:00 andi [this message]
1999-11-26  0:00 ` non-visible declaration...error Niklas Holsti
replies disabled

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