Sign in to follow this  
Gaetano83

Lesson 10 -Windows Forms Application

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this