--- In [email protected], "Jimmy Johnson" <boxer...@...> wrote: > > I've tracked it down a bit. It is erring on the line prior to that, the line > > iFormat = ChoosePixelFormat (*hDC, ppfd);
Can you output the values in the ppfd structure to check they are sensible? Perhaps even output the value of ppfd itself, which is a memory address - you might not know which addresses are valid, but you can compare it with other known valid addresses. Also check the value *hDC.
