How can we prevent console windows from being displayed under Visual Studio?
Is it possible (and how) to disable the display of the Console window when we launch an application under Visual Studio?
I have at the beginning of this project no GUI system. In a second time I have added QT gui to this project. Currently when I launch my application, I have the console system and the QT's MainWindow
I would like to disable console system
You will have to use just an application and not a console application. To do that:
Change SubSystem to Windows. You can find it under:
Properties ---> Linker ---> System
int _tmain(int argc, _TCHAR* argv)
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)