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

Managed C++/CLI

 
PinnedThe C++ / CLI is for managed and mixed-mode C++ programming only Pin
Chris Maunder9-Jan-06 9:36
cofounderChris Maunder9-Jan-06 9:36 
Questioncpp Pin
likith adithya21-Feb-21 23:39
Memberlikith adithya21-Feb-21 23:39 
QuestionRe: cpp Pin
Richard MacCutchan21-Feb-21 23:40
mveRichard MacCutchan21-Feb-21 23:40 
AnswerRe: cpp Pin
Richard Deeming22-Feb-21 0:34
mveRichard Deeming22-Feb-21 0:34 
QuestionSee if print queue is empty Pin
Erich Ruth17-Feb-21 6:25
MemberErich Ruth17-Feb-21 6:25 
AnswerRe: See if print queue is empty Pin
Richard MacCutchan17-Feb-21 21:29
mveRichard MacCutchan17-Feb-21 21:29 
QuestionCompiling a shared library Pin
Member 1504770716-Jan-21 5:57
MemberMember 1504770716-Jan-21 5:57 
AnswerRe: Compiling a shared library Pin
Gerry Schmitz17-Jan-21 3:09
mveGerry Schmitz17-Jan-21 3:09 
GeneralRe: Compiling a shared library Pin
Member 1504770718-Jan-21 3:52
MemberMember 1504770718-Jan-21 3:52 
GeneralRe: Compiling a shared library Pin
Gerry Schmitz18-Jan-21 5:40
mveGerry Schmitz18-Jan-21 5:40 
Question.NET 5? Pin
John Schroedl5-Jan-21 4:13
professionalJohn Schroedl5-Jan-21 4:13 
AnswerRe: .NET 5? Pin
Richard Andrew x6418-Jan-21 12:03
professionalRichard Andrew x6418-Jan-21 12:03 
GeneralRe: .NET 5? Pin
John Schroedl19-Jan-21 2:39
professionalJohn Schroedl19-Jan-21 2:39 
QuestionHow can I update my status-bar in MFC? Pin
Member 1503370431-Dec-20 21:03
MemberMember 1503370431-Dec-20 21:03 
AnswerRe: How can I update my status-bar in MFC? Pin
Richard MacCutchan31-Dec-20 21:19
mveRichard MacCutchan31-Dec-20 21:19 
QuestionAdding references to WPF or WinForms in .NET 5 (from C++/CLI) Pin
John Schroedl18-Dec-20 5:11
professionalJohn Schroedl18-Dec-20 5:11 
AnswerRe: Adding references to WPF or WinForms in .NET 5 (from C++/CLI) Pin
John Schroedl18-Dec-20 7:34
professionalJohn Schroedl18-Dec-20 7:34 
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

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.