On Mar 2 11:32, Kai Benndorf wrote: > Hi all, > > i can't query the LIB environment variable from C++ code, compiled with > g++, with GetEnvironmentVariable, as demonstrated in the appended, small > example program. Other variables (e.g. PATH could be retrieved without > problems). The example program queries LIB and prints it out. The output > i received is an empty string.
Cygwin -> POSIX -> getenv. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/