> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: None > To: [EMAIL PROTECTED] > Subject: [Asterisk-Users] Asterisk Cygwin Port. > > Hello Everyone, > > For the past few days I have been working on porting asterisk to the win32 > platform using Cygwin. Asterisk is already capable of being loaded itself, > but > the modules are presenting a problem. On Windows a DLL can not access any > functions of the program it was loaded from, which asterisk modules like > to do. > I have however come up with a crazy idea of turning asterisk into a DLL > and > using a dummy program to jump into the DLL for execution. This will allow > modules to link to the main asterisk DLL and use the functions there, so I > hope. If anybody can render assistance it would be much appreciated. > > - Joshua Colp.
It's certainly possible to reference statically compiled functions and data from a dll. I wish I could recall the syntax, but I can't offhand. Are you finding that usual ansi c declarations 'extern ..' aren't sufficient to make it work? Cheers, Rich _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
