🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12892

how to make CreateProcess spawn a Console application wihtout flashing the console window

#12892
From: Conny H�kansson
Date: Wed, 12 Nov 2003 21:46
14 lines
1327 bytes
Hi!

I spawn a console application from CreateProcess call.
I done this with the SW_HIDE flag set, like below:

       STARTUPINFO StartupInfo;
        StartupInfo.wShowWindow = SW_HIDE;

Still I will se the console windows flash infront of me running the
application. I spawn the console application several times during the
lifetime of the application causing well..you understand...
It doesnt look nice, what can i do about it?

/C
Technical Details
Message-ID: <3fb2aa27$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,180122c330f564ba
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-12 14:10:00 PST
From: "Conny H�kansson" <conny@allimac.se>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: how to make CreateProcess spawn a Console application wihtout flashing the console window
Date: Wed, 12 Nov 2003 22:46:13 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.215.164.250
Message-ID: <3fb2aa27$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068673575 217.215.164.250 (12 Nov 2003 13:46:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail