Jump to content
  • Advertisement
Sign in to follow this  
Gaetano83

Lesson 10 -Windows Forms Application

This topic is 3634 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I'm a new user of this forum. I'm a newbie about OpenGL and I follow Nehe's lessons to learn something about it. I have to create, for one of my university works, a Windows Forms Application in Visual C++ (Visual Studio 2005, Professional Edition) that has the same functionality of Nehe's lesson 10. I downloaded Visual Studio .NET of this lesson and I'm trying to adjust it to my application, but when I copy this function
AUX_RGBImageRec *LoadBMP(char *Filename)
I have these errors:
Quote:
1)error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _GetRegistrySysColors@8 in glaux.lib 2)error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _GetRegistrySysColors@8 in glaux.lib 3)error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _GetRegistrySysColors@8 in glaux.lib
As I can see the error is in glaux.lib, but I have no idea about it. Could anyone help me, please? PS: I included these additional dependencies in my project: openGL32.lib glu32.lib gdi32.lib User32.lib glaux.lib odbc32.lib odbccp32.lib

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!