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 Message-ID: <42C4D4D3.3050109@x-ray.at> Date: Fri, 01 Jul 2005 07:29:55 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: load a shared lib created using gcc/Cygwin References: <200506302336 DOT j5UNaDsY010535 AT lymeon DOT ucdavis DOT edu> In-Reply-To: <200506302336.j5UNaDsY010535@lymeon.ucdavis.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Yu-Cheng Chou schrieb: > Hi, > I made a mistake in the previous reply. > Here I state my question again. > > mylib.dll was built using gcc/cygwin based on some library that > might depends on cygwin1.dll. > I don't want to load cygwin1.dll explicitly, but I do need to load > mylib.dll dynamically at run-time in an application which was built by > Visual C++ or .NET. > > How should I do? Read Brians first answer and/or use a dll which was not build by the cygwin toolchain. Use libmySQL.dll from mysql.com as everybody else does or build it with mingw. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://phpwiki.org/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/