delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/16/13:46:07

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: Fri, 16 Aug 2002 13:46:06 -0400
From: Christopher Faylor <cgf-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: building a cygwin DLL to run on non-cygwin app
Message-ID: <20020816174606.GB21392@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020815235332 DOT 19EDF3DEB AT cavall DOT jtang DOT org> <3D5CA285 DOT 8070904 AT scytek DOT de> <20020816165406 DOT 5550A3DBA AT cavall DOT jtang DOT org> <20020816170047 DOT GA21626 AT redhat DOT com> <20020816173323 DOT CCED53DBA AT cavall DOT jtang DOT org>
Mime-Version: 1.0
In-Reply-To: <20020816173323.CCED53DBA@cavall.jtang.org>
User-Agent: Mutt/1.3.23.1i

On Fri, Aug 16, 2002 at 01:33:23PM -0400, J. Tang wrote:
>From: Christopher Faylor <cgf AT redhat DOT com>
>>  
>>It is not currently possible to load the cygwin DLL only at runtime.
>>It has to be linked on the command line.  There are no plans to add
>>this functionality.
>
>I do not understand what you mean.  Withing libcygwin.a is the symbol
>"__cygwin_noncygwin_dll_entry AT 12", which sounds like what I need as my
>DLL's entry point.

It is not "currently possible".  It's broken.  You can't load the cygwin
DLL via LoadLibrary.

>It is not a problem to statically link my DLL against cygwin1.dll.  I
>do, however, need to then link my DLL against a vendor's program at
>runtime.

Just to be clear, when you link in the cygwin DLL, your code becomes
automatically GPLed.

cgf
--
Please do not send me personal email with cygwin questions.
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