[Asterisk-Users] Asterisk Cygwin Port.

Dr. Rich Murphey Rich at WhiteOakLabs.com
Fri May 21 14:15:20 MST 2004


> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of joshnet at nbnet.nb.ca
> Sent: None
> To: asterisk-users at 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






More information about the asterisk-users mailing list