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: Tue, 11 Mar 2003 15:34:07 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin dll initialization from win32 application Message-ID: <20030311203407.GD6122@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i On Tue, Mar 11, 2003 at 12:48:15PM -0500, Rich LeGrand wrote: >Hi all, >This has been discussed before, but I have been unable to find any solutions >to this problem. > >Basically I'm trying to call cygwin functions in the cygwin1.dll from a >Windows (msvc) application by calling LoadLibrary() and GetProcAddress(). > >I can see that the cygwin authors have made provision for this (or what >looks like a provision) with dll_dllcrt0 (a non-cygwin initialization >function.) But when I call it, it crashes. This has been broken for some time. So far no one has stepped forward to fix the problem in cygwin, so it has remained broken. cgf -- 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/