Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <43566CAC.9090000@familiehaase.de>
Date: Wed, 19 Oct 2005 17:56:28 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
MIME-Version: 1.0
To: Jason Pyeron <jpyeron@pdinc.us>
CC: cygwin@cygwin.com
Subject: Re: making .so files...
References: <Pine.LNX.4.62.0510171807380.5147@ns.pyerotechnics.com>
In-Reply-To: <Pine.LNX.4.62.0510171807380.5147@ns.pyerotechnics.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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?

A better solution would be to put all Asterisk code into a shared libray
besides Asterisk main() and link asterisk.exe and the modules against
this libray.

You know that there is a project which already has ported asterisk to
Cygwin:  http://www.asteriskwin32.com/ ?


Gerrit

--
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/

