I have been working with OpenGL (SuperBible) and I just setup my environment (added the additional dependencies, etc.) and built my solution. When I try to execute it it says I am missing a dll. I solved the problem by moving the dll to my folder where the executable resides. 

My question is why doesn't it look for it in my System32 folder? Why does it have to be in the folder with the executable. And finally is there a way to make it look for it in the System32 folder?