Hide console window
-
Hi, I've created a console application and want to hide the (console) window when the app. is started. I know you can achieve this by calling 'ShellExecute', but that's not what i want. I remember i did this at one point by using '#pragma comment (linker , *bladiebla*)'. I don't exactly remember the rest, but i think it was something like that. Can anbody help me out here? Thanks Er zit een korstje op mijn aars.
-
Hi, I've created a console application and want to hide the (console) window when the app. is started. I know you can achieve this by calling 'ShellExecute', but that's not what i want. I remember i did this at one point by using '#pragma comment (linker , *bladiebla*)'. I don't exactly remember the rest, but i think it was something like that. Can anbody help me out here? Thanks Er zit een korstje op mijn aars.
-
forgettaboutit.....already found it... '#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")'...this works just fine. Er zit een korstje op mijn aars.
You can do the same thing in project settings->link/catagory output Entry-point symbol.
1.Why do people not wearing a wrist watch look at their wrist for time when people ask for time. 2.Why do people ask for time from people who are not wearing a wrist watch. Prakash, India.