After struggling with C# wrappers, I've decided to move to Visual C++ in Visual Studio 2010 Express. Since the stock Microsoft GL libraries only give me OpenGL 1.1, and my laptop (Dell Inspiron, 64-bit, Intel HD 3000 graphics) can handle up to 3.1, I went ahead and downloaded GLEW. However, I'm clueless as to how to install it and get it working in a Windows Forms project. I've looked a couple tutorials, notably this one and this one(ignoring the parts about freeGLUT; I just want to get OpenGL 3.1 working before I try anything else). The second seems to tell me to code in C rather than C++. Both give me a bunch (thousands) of build errors. At this point I'm lost; the tutorials just go right on without saying much about errors, while google searches give generic MSDN descriptions of the error codes (for example, C4394). Is there any more straightforward way to set up GLEW for Visual Studio 2010? Also, what's the difference between glew.h, wglew.h, and glxew.h? Which do I need?



