delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/17/07:40:37

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 <chandraveer_singh AT yahoo DOT com>
Subject: How to unload a dynamically loaded cygwin dll from a MSVC program
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <607398.80856.qm@web55911.mail.re3.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019