View Full Version : SetPixelFormat error 3221684230

02-04-08, 04:20 PM
Has someone else encountered this and knows a workaround?
This error happens always when using SetPixelFormat on an HDC for a window created by a different process - but only for ICD accelerated pixel formats, software rendering works (and in addition this also works with ATI cards).
I am not completely sure this kind of thing is even supposed to work, but at least I could not find anything in the MSDN docs suggesting that this kind of thing is not allowed...

02-13-08, 06:55 AM

02-13-08, 07:41 AM
Thanks, though that is about what I already know.
I changed the code to create a child window (creating a child window for a different processes window works fine, and I can SetPixelFormat and render OpenGL in that one), but that is just a ugly hack around what I'd now guess is a driver bug....
In case you wonder, the application in question is MPlayer/SMPlayer.