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?

EDIT:

Some precisions:

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

Answers


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 

and replace

int _tmain(int argc, _TCHAR* argv[]) 

with

int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) 

Need Your Help

How to create a LWUIT Image object from a MIDP native image?

lwuit

In the documentation of LWUIT there is the createImage method which creates a LWUIT Image object from a MIDP native image ( public static Image createImage(java.lang.Object nativeImage) ).

SQL syntax question

sql mysql

SQL syntax question about UPDATE. It would be much easier to ask the question by giving example below: