Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 27 Nov 2002 11:01:44 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: accessing cygwin functions from non-cygwin app Message-ID: <20021127160144.GG6924@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20021127144835 DOT 54907 DOT qmail AT web20007 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021127144835.54907.qmail@web20007.mail.yahoo.com> User-Agent: Mutt/1.5.1i On Wed, Nov 27, 2002 at 06:48:35AM -0800, Joshua Daniel Franklin wrote: >--- Jan Beulich wrote: >> Thanks for the answer, but you mainly missed the point: I want to dynamically >> load cygwin1.dll (if at all present on the system) and call a single function >> in it. The problem is not the process of loading the DLL and calling the >> function (I'm not a beginner after all), but the fact that plainly calling >> the intended function causes the process to crash due to uninitialized >> variables within cygwin1.dll. The question thus is - what function(s) do I >> have to call to initialize cygwin1.dll sufficiently? Thanks again, Jan > >Unfortunately, as far as DLL-loading is concerned, I am a beginner. >Does anyone know how to load cygwin1.dll dynamically (with the proper >initialization)? I don't think it is possible, currently. I think dynamic linking to the cygwin DLL is broken. FWIW, I am not aware of anyone working on fixing this. cgf -- Please do not send me personal email with cygwin questions or observations. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/