From: amit Newsgroups: comp.os.msdos.djgpp Subject: using 'spawn' to run djgpp exe in windows .. Date: Mon, 22 Dec 1997 21:50:08 +0200 Organization: none Lines: 22 Message-ID: <349EC470.3F5C@bigfoot.com> NNTP-Posting-Host: ilan27-s02.iil.intel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I'm trying to execute a djgpp generated application from another Win32 application (Compiled w/ Borland C++ builder) it seems that even though I use 'spawnve(..)' and passing my own environment array, the djgpp application sees the original Windows environment. Also, if I am trying to modify the calling process environment using putenv(), and then call the djgpp app using 'spawnp(...)', the djgpp app still sees the unmodified parent process environment. Any comments as to why this happens / is there a way to overcome this ? thanks, amit ------------------------------------------------------ to email me, remove the 'x' from the username above