Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <42C48988.D3E9FCE3@dessent.net> Date: Thu, 30 Jun 2005 17:08:40 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Dynamically load a shared lib created using gcc/Cygwin References: <200506302351.j5UNpKws004712@phaenicia.ucdavis.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Yu-Cheng Chou wrote: > 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. I don't think it matters. If you expect at any point in time to load cygwin1.dll into your process, either directly or by loading something that depends on it, then you need to initialize and load it as stated in the FAQ. Brian -- 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/