On Fri, 2004-05-21 at 05:45, joshnet@nbnet.nb.ca wrote:> 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.If a dll can't link to the calling application, can they link to other dll's? Why do you wish to put yourself through DLL HELL? Dump crap ware and use a real OS. -- Steven Critchfield <critch@basesys.com>
> -----Original Message----- > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of joshnet@nbnet.nb.ca > Sent: None > To: asterisk-users@lists.digium.com > 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
I know who you are NINNY!!! :) Give up now before it kills you... its going to be like that "Dawson Creek Trapper Keeper Futura S2000" on South Park and take over your life and start to Hybrid with things... Trapper Keeper ready for Hybrid.... WE ARE TRAPPER KEEPER WE ARE ONE bkw> -----Original Message----- > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of joshnet@nbnet.nb.ca > Sent: Friday, July 10, 2893 5:44 PM > To: asterisk-users@lists.digium.com > 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. > > And in the famous last words of a bkw answer so he'll know who this is... > NEXT!!! > ----------------------------------------------------- > This message was sent via the CCMnet Mailman. > Visit our website: http://www.ccm.net > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
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. And in the famous last words of a bkw answer so he'll know who this is... NEXT!!! ----------------------------------------------------- This message was sent via the CCMnet Mailman. Visit our website: http://www.ccm.net