🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ShellExecute Error

#12696
From: Remy Lebeau (TeamB)
Date: Fri, 21 Nov 2003 08:24
18 lines
1560 bytes
"George" <george@nospam.org> wrote in message
news:3fbdc0ec@newsgroups.borland.com...

> system() seems to be a very good solution. Do you know a
> way to make the window that popups to be hidden (invisible) ?

With system(), it can't be done.

> With createprocess you can give the process the SW_HIDE.
> What about the system() ?

There is no such option.  You would have to go back to CreateProcess() for
that.  In fact, if you were to look at the source code for system(), it
calls CreateProcess() internally.


Gambit
Technical Details
Message-ID: <3fbdcae7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fbd4eec$1@newsgroups.borland.com> <k42orvgo0cuq8t40gna3l1u57oklbuk107@4ax.com> <3fbdc0ec@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9b656969a1fc70df
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-21 00:30:28 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fbd4eec$1@newsgroups.borland.com> <k42orvgo0cuq8t40gna3l1u57oklbuk107@4ax.com> <3fbdc0ec@newsgroups.borland.com>
Subject: Re: ShellExecute Error
Date: Fri, 21 Nov 2003 00:24:47 -0800
Lines: 21
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: <3fbdcae7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069402855 67.22.137.149 (21 Nov 2003 00:20:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail