๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#12891
From: Remy Lebeau (TeamB)
Date: Wed, 12 Nov 2003 21:57
14 lines
1422 bytes
"Conny H๏ฟฝkansson" <conny@allimac.se> wrote in message
news:3fb2aa27$1@newsgroups.borland.com...

>        STARTUPINFO StartupInfo;
>         StartupInfo.wShowWindow = SW_HIDE;

Is that your exact code?  Did you set the STARTUPINFO's dwFlags member to
include the STARTF_USESHOWWINDOW flag?  If not, you need to, otherwise the
wShowWindow member will be ignored.  Also don't forget to set the
structure's cb member as well, if you are not already.


Gambit
Technical Details
Message-ID: <3fb2abeb$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
References: <3fb2aa27$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,180122c330f564ba,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-12 14:10:00 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb2aa27$1@newsgroups.borland.com>
Subject: Re: how to make CreateProcess spawn a Console application wihtout flashing the console window
Date: Wed, 12 Nov 2003 13:57:13 -0800
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: 67.22.137.149
Message-ID: <3fb2abeb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068674027 67.22.137.149 (12 Nov 2003 13:53:47 -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