0 Replies Latest reply: Jan 27, 2013 7:44 AM by et@et3d RSS

exception: std::bad_alloc in wglChoosePixelFormatARB

et@et3d Newbie
Currently Being Moderated

I get the following: "

First-chance exception at 0x7483c41f in LdocHandler.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x004288f8.." in atioglxx.dll (according to the Visual Studio 2010 debugger).

 

This is running in Windows 7 x64 on a MacBook Pro with Catalyst 13.1 (not officially supported, so that's potential problem number 1). The program is a command prompt program creating an invisible window for an OpenGL context, for which I'm trying to create a pbuffer, and in turn is ran from another program using CreateProcess. So a lot could go wrong.

 

Still, there are probably not that many options for that function to cause such an exception, so it would be cool if someone from AMD could comment on how this could happen.

More Like This

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points