Topic: MSVC-2015 unit-tests together with OpenGL
Kind time of days, dear colleagues! Last night, I and my fellow workers faced a problem: Using a Visual Studio 2015 - we do a unit-test as it is described here https://msdn.microsoft.com/en-us/library/hh598953.aspx Our project using OpenGL (freeglut, etc.) Does not work normally. But procedure which should launch in a window is not launched, why - it is not known. glutSetWindow (m_hWindow); glutPostRedisplay ();//a command on glutMainLoopEvent ();//to transit one operation cycle glut messages Itself OpenGL does not cause registered call-back function: glutDisplayFunc (DisplayGL);//we DisplayGL is not caused!!! All works in one thread ( it is locked). OS Windows-7 / 64 (+SP1). In the normal console project, also as well as in MFC/Qt application all works normally. The project is tested - on MFC application: there all works, as a Swiss watch Thankful in advance for any thoughts! Probably, there are any adjustments and options for a Visual Studio 2015 unit-test of a subsystem? P.S. I will note that: m_hWindow = glutCreateWindow ("Model Window");//returns "" At application execution - any run-time errors is not present; all return codes - ; exceptions - also is not present, however the above-stated problem - is.