PC Review


Reply
Thread Tools Rate Thread

Console app with no window

 
 
ssg31415926
Guest
Posts: n/a
 
      27th May 2008
Is it possible to create a console app that doesn't display a
window?

I want to create an app which runs before the main app and starts it
in another process and I don't want the console box to appear and
disappear as it does at present.
 
Reply With Quote
 
 
 
 
ssg31415926
Guest
Posts: n/a
 
      27th May 2008
That sounds spot on. Thanks very much for your advice.

On May 27, 7:27 pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
> On Tue, 27 May 2008 11:22:46 -0700, ssg31415926 <newsjunkm...@gmail.com>
> wrote:
>
> > Is it possible to create a console app that doesn't display a
> > window?

>
> No... the OS automatically creates that for console applications.
>
> > I want to create an app which runs before the main app and starts it
> > in another process and I don't want the console box to appear and
> > disappear as it does at present.

>
> Then don't make your application a console application. Just make it a
> regular Windows application, but don't show a window. In VS, you can
> start with a console application, but then in the project settings, change
> it to a Windows application. As long as you don't actually show a window,
> no window will appear, but as a Windows application, the OS won't create a
> console window for you either.
>
> Pete


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system function doesn't show console window in Vista window servic LT Khoo Microsoft VC .NET 1 13th Aug 2008 09:03 AM
How to change _buffer_ size of console window (or can runas inherit console props)? Alex Blekhman Microsoft Windows 2000 CMD Promt 4 18th Mar 2005 09:07 AM
Console.Writeline hangs if user click into the console window Urs Eichmann Microsoft VB .NET 3 20th Jul 2004 06:48 AM
New Console Window? Eric Microsoft Dot NET Framework Forms 1 11th Dec 2003 08:40 AM
console window Maciej Pacuła Microsoft Dot NET Framework 1 18th Jul 2003 08:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 AM.