X-Spam-Check-By: sourceware.org X-YMail-OSG: S7S4fG0VM1kQEaCc8cYnnhB6zGCUmnv1aegdancdndNUKTr9jbuOvN4VdwclDNAG9Vu.Bmwgy_BdBhO1RF22vFr8wjlfMD_g3XhFShrpDzJef17UyZYxe8tVLlDVUWDDgnT82JNsuN_g660- Date: Sun, 17 Jun 2007 04:40:17 -0700 (PDT) From: Chandraveer Singh Bhati Subject: How to unload a dynamically loaded cygwin dll from a MSVC program To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <607398.80856.qm@web55911.mail.re3.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello Everyone, Is there a way to unload the Cygwin dll which has been dynamically loaded using the concept given in cygload.cc. This has to be done from a MSVC executable. I am able to load the cygwin dll by calling cygwin_dll_init() function after making a call to LoadLibrary(" cygwin1.dll") using the connector class given in cygload.cc example. The problem that I want to address is how to unload what all cygwin does after initalizing itself. Is there a specific function which needs to be called or how to go about it ? Please let me know if anyone has any information on this. Thanks ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 -- 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/