1. RE: modifying environment variables

You might start here for ideas:
http://msdn.microsoft.com/library/en-us/dllproc/prothred_89f7.asp

-- Brian


Chris wrote:
> How can I modify environment variables from within my eu program?
> 
> Using system, or system_exec() seems to open a new instance in order to 
> set the variables. When the variables are set, the instance is closed, 
> leaving me with my original environment.
> 
> Chris
> 
>

new topic     » topic index » view message » categorize

2. RE: modifying environment variables

Thanks Brian, but I'm looking for a general purpose solution. One that 
will work on all platforms.

In particular, I want to be able to modify %EUINC% on the fly, within my 
source, so I can specify a particular lib that might have a dynamic 
location.

Dynamic definitions for the include statement would make things easier, 
but I'd still like to be able to modify the environment variables for 
other uses.


Chris

Brian Broker wrote:
> You might start here for ideas:
> http://msdn.microsoft.com/library/en-us/dllproc/prothred_89f7.asp
> 
> -- Brian
> 
> 
> Chris wrote:
> > How can I modify environment variables from within my eu program?
> > 
> > Using system, or system_exec() seems to open a new instance in order to 
> > set the variables. When the variables are set, the instance is closed, 
> > leaving me with my original environment.
> > 
> > Chris
> > 
> >

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu