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: <43555F22.250276D3@dessent.net> Date: Tue, 18 Oct 2005 13:46:26 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: making .so files... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Jason Pyeron wrote: > I am not sure if this can be done on windows but here it goes. > > I am working with the Asterisk application, it uses "modules" these are > .so files which are linked against the main executable. > > Asterisk will load a module, which may or may not make use of code > exported by the main executable. > > Is this two way DLL allowed under windows? Restated, can a DLL call code > from the main executable? This gets asked regularly. You should search the archives. This is the last one that I remember, and it was just a few weeks ago: http://cygwin.com/ml/cygwin/2005-09/msg00875.html Yes, it's possible. But there are some drawbacks. 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/