Eli Zaretskii wrote: > Could you please explain more why is this a problem. I'm afraid I > don't know enough about the Cygwin DLL to get the idea. Cygwin has something like one of these: #define environ (*(__get_environ())) -or- extern __declspec(dllimport) char **environ; DLLs are better at exporting functions than variables (think DXE).