TO OPENGL 4.6 Not responsive please help
-
I want to use this source code that you put, but with opengl 4.6 Does not run and gives an error Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A00004D) "extern "C" int stdcall wglMakeCurrent(struct HDC *,struct HGLRC__ *)" (?wglMakeCurrent@@$$J18YGHPAUHDC__@@PAUHGLRC__@@@Z) referenced in function "protected: int clrcall OpenGLForm::COpenGL::MySetPixelFormat(struct HDC *)" (?MySetPixelFormat@COpenGL@OpenGLForm@@$$FI$AAMHPAUHDC__@@@Z) CppCLR_WinformsProjekt2 C:\Users\living with sweet lo\source\repos\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt.obj 1 Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A00004E) "extern "C" struct HGLRC__ * stdcall wglCreateContext(struct HDC *)" (?wglCreateContext@@$$J14YGPAUHGLRC__@@PAUHDC__@@@Z) referenced in function "protected: int clrcall OpenGLForm::COpenGL::MySetPixelFormat(struct HDC *)" (?MySetPixelFormat@COpenGL@OpenGLForm@@$$FI$AAMHPAUHDC__@@@Z) CppCLR_WinformsProjekt2 C:\Users\living with sweet lo\source\repos\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt.obj 1 Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A00004F) "extern "C" int stdcall SetPixelFormat(struct HDC *,int,struct tagPIXELFORMATDESCRIPTOR const *)" (?SetPixelFormat@@$$J212YGHPAUHDC__@@HPBUtagPIXELFORMATDESCRIPTOR@@@Z) referenced in function "protected: int clrcall OpenGLForm::COpenGL::MySetPixelFormat(struct HDC *)" (?MySetPixelFormat@COpenGL@OpenGLForm@@$$FI$AAMHPAUHDC__@@@Z) CppCLR_WinformsProjekt2 C:\Users\living with sweet lo\source\repos\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt.obj 1 Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A000051) "extern "C" int stdcall ChoosePixelFormat(struct HDC *,struct tagPIXELFORMATDESCRIPTOR const *)" (?ChoosePixelFormat@@$$J18YGHPAUHDC__@@PBUtagPIXELFORMATDESCRIPTOR@@@Z) referenced in function "protected: int clrcall OpenGLForm::COpenGL::MySetPixelFormat(struct HDC *)" (?MySetPixelFormat@COpenGL@OpenGLForm@@$$FI$AAMHPAUHDC__@@@Z) CppCLR_WinformsProjekt2 C:\Users\living with sweet lo\source\repos\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt2\CppCLR_WinformsProjekt.obj 1 Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A000053) "extern "C" int stdcall SwapBuffers(struct HDC *)" (?SwapBuffers@@$$J14YGHPAUHDC__@@@Z) referenced in function "publ