Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990427215855.20970.rocketmail@web120.yahoomail.com> Date: Tue, 27 Apr 1999 14:58:55 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: putenv does not put env into win32? To: Eugene Kanter Cc: cygwin users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Eugene Kanter wrote: > Earnie Boyd wrote: > > > > --- Eugene Kanter wrote: > > > Any ideas of how to call Win32 versions of getenv/_putenv instead of > > > cygwin ones? > > > > Use the mingw32 package. For more info read the docs and search the > archives. > > I can not use mingw32 package because the rest of the application (RPM) > requires cygwin. I just scanned archives and FAQ and have not noticed > any mentions of putenv limitations. > Ok. But I don't think you can do what you want to anyway. The putenv function only modifies the environment of the current process not the parent. Also, you're using LoadLibrary which in the documentation is said not to be used; but to use dlopen, etc. instead. I'm not experienced enough at this to help beyond these pointers. === "Earnie Boyd" CYGWIN RELATED HELP: DOCUMENTATION: DLLHELP: ARCHIVE SEARCH: OR _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com