ChoosePixelFormat fails

Started by
-1 comments, last by LeMatsch 23 years, 4 months ago
Hi everyone! I hope anybody can help me with this problem. I''m trying to get a proper pixelformat set for my window, but any calls to ChoosePixelFormat, DescribePixelFormat and SetPixelFormat fail with GetLastError returning 126 (The specified module could not be found). To find the error I copied some tutorials into the project and they worked fine (so my environment settings are correct). Then I removed lines from the tutorials that I hadn''t in my program, so I could find the crucial line that mine was missing... So I removed all calls to an unimportant function... it worked then I removed the function body... and it didn''t work I added the body again... still didn''t work I had to undo a few removings till it finally worked again. This all seems to me like the function only works randomly. What am I doing wrong? *help* Nik

This topic is closed to new replies.

Advertisement