delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/27/11:01:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf-noreply AT cygwin DOT com>
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: <sde48654 DOT 087 AT cpl-emea-mail1 DOT cpl DOT novell DOT com> <20021127144835 DOT 54907 DOT qmail AT web20007 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
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 <JBeulich AT novell DOT com> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019