This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: making .so files...


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]