Article View: borland.public.cppbuilder.nativeapi
Article #11423Re: CreateProcess
From: Remy Lebeau (TeamB)
Date: Mon, 09 Feb 2004 18:44
Date: Mon, 09 Feb 2004 18:44
22 lines
1788 bytes
1788 bytes
"Fraser Ross" <fraserATmembers.v21.co.unitedkingdom> wrote in message news:402762c1@newsgroups.borland.com... > There is not a problem with the slashes. There is if what you showed earlier is the exact code you are using. > CreateProcess does find the program in the currecnt directory. I have > checked this with Filemon. Then the message appears. It is a 16-bit dos > program that is called. I should not see the message 'cannot find the file > prog.exe. make sure that the file exists on your system and that the path > and filename are correct.' Again, you should be using a full path to the exe file. Do not use relative paths. Also, you are not specifying any value for the lpCurrentDirectory parameter of CreateProcess(). Gambit
Technical Details
Message-ID:
<4027d35d$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-mailReferences:
<40267a98@newsgroups.borland.com> <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com> <40269570@newsgroups.borland.com> <4026bc92$2@newsgroups.borland.com> <402762c1@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-09 10:40:26 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40267a98@newsgroups.borland.com> <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com> <40269570@newsgroups.borland.com> <4026bc92$2@newsgroups.borland.com> <402762c1@newsgroups.borland.com> Subject: Re: CreateProcess Date: Mon, 9 Feb 2004 10:44:43 -0800 Lines: 24 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.138.253 Message-ID: <4027d35d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076351837 67.22.138.253 (9 Feb 2004 10:37:17 -0800) 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