Skip to main content
gamedev.net
🔒 Locked

Nagging error

Started by Mulligan Mar 10, 2003 at 7:33 PM 3 replies 800+ views
Original Post
Mulligan
Mulligan
When I run my program the first time, it runs fine. Then when running it again, i get this error: ERROR_INVALID_HANDLE The handle that was passed to the API has been either invalidated or closed. Generated by this code
  
glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC) wglGetProcAddress( "glActiveTextureARB" );
if( glActiveTextureARB == NULL )
{
    DWORD dw = GetLastError();
}
  
dw recieves an error code of 6 which is the error above. After running my program once, all opengl applications cant run anymore, less i restart the computer every time. Why could it be doing this?
falkone
falkone
I''m not quite sure... the only thing i can suggest is that either 1) your card doesn''t support it.. doesn''t seem likely though.. or 2) you are using an older version of opengl... other than that i''m not sure..
Disclaimer: "I am in no way qualified to present advice n any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)" o
Mulligan
Mulligan
It has always worked though...humm

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.