Okay, so I made all the files available. You only need to link the opengl libraries.
Download the project from here. Then, there should be no errors. Hope you can help me with this. Thanks.
After a few days of troubleshooting, I finally discovered the problem was in the LoadExtensionList function. Changing the return value from false to 0, solved the problem.