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: <43566CAC.9090000@familiehaase.de> Date: Wed, 19 Oct 2005 17:56:28 +0200 From: "Gerrit P. Haase" 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 CC: cygwin AT cygwin DOT com Subject: Re: making .so files... References: In-Reply-To: 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/