🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcess

#11402
From: Bob Gonder
Date: Sun, 08 Feb 2004 19:48
15 lines
1769 bytes
Fraser Ross wrote:

>My call to CreateProcess works when the program is ran with W2000 but not
>W98SE.  The exe called has to be in the directory of a file given as a
>parameter to it with W98SE.  Also the exe has to be in the directory of the
>calling program or CreateProcess returns error code 2 as it should do.  It
>looks like a bug with W98SE.  There is no problem with W2000.

Could you be a bit more specific?  Like show us the code?

Are you saying that 
CreateProcess(	"c:\\MySubApp.exe",
		 "C:\\MySubApp.exe C:\\MyDir\\MyFile.dat",
		x,x,x,x,x,"C:\\MyOtherDir",x,x)
 doesn't work?
Technical Details
Message-ID: <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40267a98@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b85ad1154737de24
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-08 12:09:48 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CreateProcess
Date: Sun, 08 Feb 2004 11:48:03 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com>
References: <40267a98@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.56.154.115
X-Trace: newsgroups.borland.com 1076269684 65.56.154.115 (8 Feb 2004 11:48:04 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail