On 04/03/12 09:57, [email protected] wrote: > > > You must always set up environment variables before a program starts. > When starting a process, the environment for that process is started and is > then immutable for the duration of the process. > > What you can do is execute the same binary again, but with the > environment variable added to the environment of the new process. > > Michael. > > -- >
How does setenv work in libc? For instance you need to use that at runtime to embed a SDL window into your application. (only one sdl window per application works) Regards, Andrew Haines -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
