Original Post
I am trying to establish an OpenGL rendering context for a window handle owned by another process. ChoosePixelFormat works returning a good pixel format index. SetPixelFormat with that index fails with a last-error code of 0xc0070006. My environment is Vista with an NVIDIA 8800 GTX (Forceware 169.25, the latest). The above works on other systems tried, including Vista with an ATI RADEON 9600 and several XP configurations (none with 8800 GTX). The same code works on the Vista 8800 GTX system in a single process. This sure smells like a driver problem, but I have to confess that the inter-process communication makes this a peculiar environment. Yahoo and Google searches on "c0070006" suggest that others have gotten this message in other environments, but there is no definitive information for the error code. 1) Does anyone know what "c0070006" is trying to tell me? 2) Does anyone have any troubleshooting suggestions? Walt