I am using VC++ 6.0 with SP2. It used to work. I didn’t change anything really essential. I just added some drawing stuff to the DrawGLScene() function and it quit working.
Well, from the looks of your error message WNDPROC is undefined. Have you tried doing Build->Clean and then remaking everything? The only reason why I can think that WNDPROC would be undefined would be if Windows.h wasnt included (unlikely or you’d get alot more errors) or if you using precompiled headers and things got wacky.
Assuming that remaking everything doesnt work, what happens if you remove all the code you added? (just ‘#if 0’ it out). If that solves the compilation problem and you cant find anything wrong with your code, post the changes.