🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: R: WinExec problem

#16513
From: Al
Date: Mon, 12 May 2003 09:47
13 lines
1290 bytes
"Steve" <steve_alettoANTI@SPAMhotmail.com> wrote:

>> WinExec("C:/vvoce/vvoce.exe", SW_SHOWDEFAULT);

>You could use CreateProcess instead. There, you can specify
>the working directory for the child process.

I would suggest ShellExecute (shellapi.h)

ShellExecute(0,"open","vvoce.exe",0,"C:\\vvoce",SWSHOWDEFAULT);

Al
Technical Details
Message-ID: <3ebf6dc6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ebf64d6@newsgroups.borland.com> <3ebf685c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,693f170cbcb1b384
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-12 02:51:37 PST
From: "Al" <Easier@Way.com>
Sender: "Al" <Easier@Way.com>
Reply-To: "Al" <Easier@Way.com>
Subject: Re: R: WinExec problem
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 194.205.73.2 194.205.73.2    
References: <3ebf64d6@newsgroups.borland.com> <3ebf685c@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ebf6dc6$1@newsgroups.borland.com>
Date: 12 May 2003 02:47:50 -0700
X-Trace: newsgroups.borland.com 1052732870 207.105.83.65 (12 May 2003 02:47:50 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail