🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Hiding a console app

#10776
From: John Franklin
Date: Thu, 25 Mar 2004 09:11
13 lines
1289 bytes
I need to launch programatically an application that runs as a console
application (it's a virus scan program that does some scanning and then
closes) but I don't want it to appear on the screen.

I have tried setting the STARTUPINFO.wShowWindow in CreateProcess to SW_HIDE
(or SW_MINIMIZE) but this has no effect. The console window is still
displayed.

Any ideas?

Thanks.

John Franklin
Technical Details
Message-ID: <4062a188@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.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,e0aab47c69c9995e,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-25 01:09:32 PST
From: "John Franklin" <john@lesberries.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Hiding a console app
Date: Thu, 25 Mar 2004 09:11:15 -0000
Lines: 15
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: 212.103.240.155
Message-ID: <4062a188@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080205704 212.103.240.155 (25 Mar 2004 01:08:24 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail