another MZ_Exec() problem...

chrismorgan at chrismorgan at
Wed Sep 25 10:12:00 CDT 2002

Anyone planning on looking into this in the near term?  It could be fixed relatively easily in MZ_Exec() if I knew of some way to get the environment variables and their values.  I'm not sure if the same kind of fix would apply to fixing CreateProcess().


> From: "Eric POUECH" <Eric.Pouech at>
> Date: 2002/09/24 Tue PM 04:48:24 EDT
> To: <cmorgan at>,  <wine-devel at>
> Subject: Re: another MZ_Exec() problem...
> > Inside of MZ_Exec() I call out to CreateProcessA() if the executable is PE.  I've set the lpEnvironment parameter of CreateProcessA() to null to have it inherit the environment of the caller but this isn't working correctly.  The path and other environment variables aren't being inherited.  Ideas on how to either get CreateProcessA() to inherit properly or where I can find the environment settings?  I noticed the env_ptr in the parmeter block but I'm unsure if this is what I'm looking for or where to find more information about it.
> moreover, explicit env heritage (ie passed in CreateProcess) is currently bugged
> A+

More information about the wine-devel mailing list