Click here to Skip to main content
14,980,986 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Question“error:passing 'const std::vector<int>' as 'this' argument discards qualifiers [-fpermissive]” Pin
neuronphysics13-Dec-20 16:35
Memberneuronphysics13-Dec-20 16:35 
Questionap alternate boundary pairs in matrix Pin
Doraemon Kids25-Nov-20 8:26
MemberDoraemon Kids25-Nov-20 8:26 
AnswerRe: ap alternate boundary pairs in matrix Pin
Richard MacCutchan25-Nov-20 9:24
mveRichard MacCutchan25-Nov-20 9:24 
QuestionAbstract classes and factories Pin
Richard Andrew x6412-Sep-20 5:53
professionalRichard Andrew x6412-Sep-20 5:53 
Questionsorce code grid line Pin
SADEGH20771-Aug-20 7:32
MemberSADEGH20771-Aug-20 7:32 
AnswerRe: sorce code grid line Pin
Dave Kreskowiak1-Aug-20 8:41
mveDave Kreskowiak1-Aug-20 8:41 
QuestionCreating an OpenGL view on a Windows Form Pin
SADEGH207730-Jul-20 8:05
MemberSADEGH207730-Jul-20 8:05 
QuestionOPENGL 4.6 Not responsive please help Pin
SADEGH207730-Jul-20 6:13
MemberSADEGH207730-Jul-20 6:13 
Creating an OpenGL view on a Windows Form

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 "public: void __clrcall OpenGLForm::COpenGL::SwapOpenGLBuffers(void)" (?SwapOpenGLBuffers@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 (0A000054) "extern "C" void __stdcall glClear(unsigned int)" (?glClear@@$$J14YGXI@Z) referenced in function "public: void __clrcall OpenGLForm::COpenGL::Render(void)" (?Render@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 (0A000055) "extern "C" void __stdcall glClearColor(float,float,float,float)" (?glClearColor@@$$J216YGXMMMM@Z) referenced in function "public: void __clrcall OpenGLForm::COpenGL::Render(void)" (?Render@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 (0A000058) "extern "C" struct HDC__ * stdcall GetDC(struct HWND *)" (?GetDC@@$$J14YGPAUHDC__@@PAUHWND__@@@Z) referenced in function "public: __clrcall OpenGLForm::COpenGL::COpenGL(class System::Windows::Forms::Form ^,int,int)" (??0COpenGL@OpenGLForm@@$$FQ$AAM@P$AAVForm@Forms@Windows@System@@HH@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 LNK2019 unresolved external symbol "extern "C" void __stdcall glClearColor(float,float,float,float)" (?glClearColor@@$$J216YGXMMMM@Z) referenced in function "public: void __clrcall OpenGLForm::COpenGL::Render(void)" (?Render@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 LNK2019 unresolved external symbol "extern "C" void __stdcall glClear(unsigned int)" (?glClear@@$$J14YGXI@Z) referenced in function "public: void __clrcall OpenGLForm::COpenGL::Render(void)" (?Render@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 LNK2019 unresolved external symbol "extern "C" int stdcall SwapBuffers(struct HDC *)" (?SwapBuffers@@$$J14YGHPAUHDC__@@@Z) referenced in function "public: void __clrcall OpenGLForm::COpenGL::SwapOpenGLBuffers(void)" (?SwapOpenGLBuffers@COpenGL@OpenGLForm@@$$FQ$AAMXXZ) 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 LNK2019 unresolved external symbol "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 LNK2019 unresolved external symbol "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 LNK2019 unresolved external symbol "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 LNK2019 unresolved external symbol "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 LNK2019 unresolved external symbol "extern "C" struct HDC__ * stdcall GetDC(struct HWND *)" (?GetDC@@$$J14YGPAUHDC__@@PAUHWND__@@@Z) referenced in function "public: __clrcall OpenGLForm::COpenGL::COpenGL(class System::Windows::Forms::Form ^,int,int)" (??0COpenGL@OpenGLForm@@$$FQ$AAM@P$AAVForm@Forms@Windows@System@@HH@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 LNK1120 16 unresolved externals CppCLR_WinformsProjekt2 C:\Users\living with sweet lo\source\repos\CppCLR_WinformsProjekt2\Debug\CppCLR_WinformsProjekt2.exe 1

AnswerRe: OPENGL 4.6 Not responsive please help Pin
Richard Andrew x6430-Jul-20 6:42
professionalRichard Andrew x6430-Jul-20 6:42 
QuestionTO OPENGL 4.6 Not responsive please help Pin
SADEGH207730-Jul-20 6:09
MemberSADEGH207730-Jul-20 6:09 
QuestionI want to use this source code that you put, but with opengl 4.6 Does not run and gives an error Pin
SADEGH207730-Jul-20 5:36
MemberSADEGH207730-Jul-20 5:36 
AnswerRe: I want to use this source code that you put, but with opengl 4.6 Does not run and gives an error Pin
Richard MacCutchan31-Jul-20 4:52
mveRichard MacCutchan31-Jul-20 4:52 
QuestionCreating an OpenGL view on a Windows Form Pin
SADEGH207730-Jul-20 3:54
MemberSADEGH207730-Jul-20 3:54 
AnswerRe: Creating an OpenGL view on a Windows Form Pin
Richard MacCutchan30-Jul-20 4:15
mveRichard MacCutchan30-Jul-20 4:15 
Questionc++ program Pin
Member 148568768-Jun-20 2:31
MemberMember 148568768-Jun-20 2:31 
AnswerRe: c++ program Pin
Eddy Vluggen8-Jun-20 3:01
professionalEddy Vluggen8-Jun-20 3:01 
GeneralRe: c++ program Pin
Member 148568768-Jun-20 4:27
MemberMember 148568768-Jun-20 4:27 
GeneralRe: c++ program Pin
Eddy Vluggen8-Jun-20 5:13
professionalEddy Vluggen8-Jun-20 5:13 
GeneralRe: c++ program Pin
Member 148568768-Jun-20 5:23
MemberMember 148568768-Jun-20 5:23 
GeneralRe: c++ program Pin
Richard MacCutchan8-Jun-20 5:34
mveRichard MacCutchan8-Jun-20 5:34 
GeneralRe: c++ program Pin
Member 148568768-Jun-20 5:51
MemberMember 148568768-Jun-20 5:51 
GeneralRe: c++ program Pin
Richard MacCutchan8-Jun-20 6:00
mveRichard MacCutchan8-Jun-20 6:00 
GeneralRe: c++ program Pin
Member 148568768-Jun-20 6:26
MemberMember 148568768-Jun-20 6:26 
GeneralRe: c++ program Pin
Richard MacCutchan8-Jun-20 6:38
mveRichard MacCutchan8-Jun-20 6:38 
GeneralRe: c++ program Pin
Eddy Vluggen8-Jun-20 8:31
professionalEddy Vluggen8-Jun-20 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.