Thanks Andrew 02-10-2004,06:58 AM #2 roffe View Profile View Forum Posts Private Message Member Regular Contributor Join Date Jun 2002 Posts 366 Re: wglCreateContext exception With the little information you've given Or maybe Ogre could be modified to check whether the pixel format has already been set on the window. Back to top #3 Damocles Members -Reputation: 133 Like 0Likes Like Posted 06 July 2004 - 11:43 AM Nope, it isn't that. Debugging leads me as far as the wglDeleteContext call, so I can only assume that the context is undeletable for some reason.

Drawing is limited to glDrawArrays and other basic GL functions. Any help? The operations will be undefined.

Back to today.

What we do in life, echoes in eternity!

and what's the problem?

How can there be different religions in a world where gods have been proven to exist?

I've tried the MS debug memory leak checkers and another memory leak checker library to try and ensure the code is safe there, and neither of them show up any faults.I

Back to top #13 Damocles Members -Reputation: 133 Like 0Likes Like Posted 19 July 2004 - 03:21 AM DM - the finish and flush idea doesn't work :(Magmai - do

Post a reply 6 posts • Page 1 of 1 Reply with quote BUG: Recreation of OpenGL for 2nd time, throws an Exception!

La hora actual es: 12:42.

Like derhass mentioned, if you want information about an error generated by the WGL API, use GetLastError (...). Unhandled exception at 0x10053930 in enum.exe: 0xC0000005: Access violation reading location 0xfeeeff86.The code throw exception in enum.cpp on line 109: glDeleteTextures(1, &tid); //

If it doesn't work, then pelase don't rate me. :) Back to top #6 Damocles Members -Reputation: 133 Like 0Likes Like Posted 16 July 2004 - 09:11 AM Nope, they WGL is part of the window system, which is built on top of the Win32 API, so it will communicate its errors to you through the traditional Win32 channels. TWell: how it's spinning... http://www.gamedev.net/topic/255205-wgldeletecontext-exception-error/ Top Log in to post comments trigve Wed, 10/14/2009 - 08:39 Hi,tried with the new drivers (7.15.10.1908) , with Vista SP2 installed and still without success.

Friday, December 17, 2010 3:14 AM Reply | Quote Moderator 0 Sign in to vote Hi MCKguver and Jesse. http://forum.twonav.com/threads/9627-ERROR-Exception-in-wglCreateContext Thanks Andrew we had the same problem too. If you wish to continue this conversation start a new topic. So I was obliged to use this way:Code: Select allbool Win32GLSupport::selectPixelFormat(HDC hdc, int colourDepth, int multisample){ .... if (multisample) { .... if (!__wglewChoosePixelFormatARB(hdc, iattr, NULL,

If the 8 in "wglCreateContext failed 8" is the error code returned from GetLastError() it looks like an ERROR_NOT_ENOUGH_MEMORY error. navigate here But can you explain me why the unused for hdc is ???(the expression can not be evaluated)? –sepideh Aug 16 '13 at 19:20 1 @sepideh: well, the "unused" part sounds Physically locating the server more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Blog | Twitter sinbad OGRE Retired Team Member Posts: 19257 Kudos: 68 Joined: 06 Oct 2002Location: Guernsey, Channel Islands Website Top Display posts from previous: All posts1 day7 days2 weeks1

Navigation [0] Message Index [#] Next page [*] Previous page Go to full version Anmelden Registrieren FAQ Suche Files| Tutorials| Articles| Links| Home| Team| Forum| Wiki Aktuelle Zeit: Di Okt I don't use any operations that "tie up" openGL.Does anyone know of any commands that could check if the context is in use, or perhaps force the context to stop being If the returned values is not NULL, it is valid. http://holani.net/error-exception/error-exception-in-php.php esp with matrox cards.

Error code: 0 Exception on Intel: 33 An exception was caught 01BEBCB8 : Aspect_GraphicDeviceDefinitionError: OpenGl_Window::CreateWindow: wglShareLists failed. mehdix Halfling Posts: 78 Kudos: 0 Joined: 22 Jun 2007 Top Reply with quote by sinbad » Wed Aug 08, 2007 11:20 am If you have a test case of I tested it still on some other systems.

After much head scratching and hair pulling, I finally found the source of a long standing exception error in my program - but I have no idea how it is happening.

The code works fine on his laptop, but I get a "wglCreateContext Failed" error. Draw an ASCII chess board! Coleman 30.9k23062 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password http://holani.net/error-exception/error-exception-gifexception.php I simply cannot see why this is going wrong.

Why isn't the Memory Charm (Obliviate) an Unforgivable Curse? You must register before you can post. asked 3 years ago viewed 381 times active 1 year ago Visit Chat Linked 2 order of events when a window starts in Visual C++ MFC Related 2Why does my MFC but I'm not sure so it will be appreciated if you guide me alittle about this?

You can call the Windows API function GetLastError() if you want details in that case, like with most other Windows API functions. If you wish to continue this conversation start a new topic. The result was correct (100 views) on: - NVIDIA Quadro FX 4600 (driver: 9.18.13.3165), Win 8.1 Pro - NVIDIA Quadro FX 1600M (driver: 8.17.12.9573), Win 7 Ultimate There was a problem share|improve this answer edited Aug 16 '13 at 21:35 answered Aug 16 '13 at 21:24 Andon M.

I don't understand why it is crashing here. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I have no idea for the solution. I had someone working on this issue, and they solved it with the following code.