delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/19/11:56:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <43566CAC.9090000@familiehaase.de>
Date: Wed, 19 Oct 2005 17:56:28 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT 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 AT pdinc DOT us>
CC: cygwin AT cygwin DOT com
Subject: Re: making .so files...
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0510171807380 DOT 5147 AT ns DOT pyerotechnics DOT com>
In-Reply-To: <Pine.LNX.4.62.0510171807380.5147@ns.pyerotechnics.com>
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/

- Raw text -


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