delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/23/10:00:34

From: amit <halfxoat AT bigfoot DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019