On Fri, 08 Feb 2013 04:17:02 -0500, Peter Sommerfeld <nore...@rubrica.at> wrote:

Steven Schveighoffer schrieb:
Windows is actually EXACTLY the same, except you don't use getenv and putenv, you use SetEnvironmentVariable and GetEnvironmentVariable. You can use the former if you want to use the C compatibility layer, but that's only if you use all compatibility layer functions for everything (executing processes etc.)

How is the latter done ? A Version switch to posix?

Actually, D on Windows uses DMC as its C runtime, so you cannot use any MSVC C runtime functions, such as _putenv. So this is not an option for you.

If DMC has equivalent functions, you will have to look them up.

-Steve

Reply via email to