X-Spam-Check-By: sourceware.org Date: Thu, 2 Mar 2006 12:34:16 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Querying the LIB environment (from g++) don't work with current cygwin.dll (1.5.19-4) Message-ID: <20060302113416.GI3184@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4406C9AD DOT 7060705 AT pad DOT zuken DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4406C9AD.7060705@pad.zuken.de> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/