This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: accessing cygwin functions from non-cygwin app
- From: Christopher Faylor <cgf-noreply at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 27 Nov 2002 11:01:44 -0500
- Subject: Re: accessing cygwin functions from non-cygwin app
- References: <sde48654.087@cpl-emea-mail1.cpl.novell.com> <20021127144835.54907.qmail@web20007.mail.yahoo.com>
- Reply-to: cygwin at cygwin dot com
On Wed, Nov 27, 2002 at 06:48:35AM -0800, Joshua Daniel Franklin wrote:
>--- Jan Beulich <JBeulich@novell.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/