Where's wglGetProcAddress()?

Started by
1 comment, last by fig 15 years, 11 months ago
I'm trying to use GLee to load extensions, as you do.. But I get unresolved external errors. Namely - wglGetProcAddress(), wglGetCurrentDC() and glGetString(). I'm using Visual C++ 2008 Express in Windows XP. I've included GLee.h and GLee.c to the project, rather than linking to the lib. I also get the exact same errors with GLEW. Any ideas?
Advertisement
Link gdi32.lib
(It's something like that)
I think I should change my name to something similar to yours. Big Moron :)

I didn't know I had to link opengl32.lib. :p

Once I noticed that gdi32.lib and others were linked by default, I realised what was wrong.

Thanks for the help.

This topic is closed to new replies.

Advertisement