Hi,
I have two video cards and the second one gives problems with
ChoosePixelFormat.
When I start my program from the first screen (and first video card)
ChoosePixelFormat returns 7 and SetPixelFormat is OK.
When I start my program from the second screen (and second video card)
ChoosePixelFormat returns 3 and SetPixelFormat throws an error
("Object reference not set to an instance of an object."). When I set
the pixel format value hard coded to 7 SetPixelFormat is OK (and the
rest of the program also) on the second screen.
I use the .NET 1.1 Tao framework on Windows XP SP3.
Does anybody knows what goes wrong?
Richard