[Freeswitch-users] managed_mod directories

Phillip Jones pjintheusa at gmail.com
Mon Jul 13 09:03:17 PDT 2009


Got it! Thanks very much for that clarification.

Phil

On Sat, Jul 11, 2009 at 1:43 PM, Jeff Lenk <jlenk at frontiernet.net> wrote:

>
> Hi,
>
> The base dll (FreeSWITCH.Managed.dll) is loaded from /mod - additional
> managed dlls are loaded from /mod/managed. This is designed to allow your
> dll's to be built and maintained independant of the FS build files. You can
> simply just drop your dlls into mod/managed and they will be loaded and
> available for use(this happens at FS startup).
>
> The base managed dll (FreeSWITCH.Managed.dll) is only really supposed to be
> used for loader support and the demo classes - you should place your code
> in
> your own dll.
>
> - Jeff
>
>
> Phillip Jones-2 wrote:
> >
> > Hi,
> >
> > If I place the DLL in mod\managed I get the following error:
> >
> > [err] mod_managed.cpp:287 Assembly::LoadFrom failed:
> > system.IO.FileNotFoundException: Could not load file or assembly
> > 'file:///c:program files (x86)\Freeswitch\mod\freeSWITCH.Managed.dll' or
> > one
> > of its dependencies. The system could not find the file specified.
> >
> > As I said. When I place freeSWITCH.Managed.dll straight into \mod then
> > everything works fine.
> >
> > Thanks
> >
> >
> > Phil
> >
> >
> > On Sat, Jul 11, 2009 at 9:15 AM, Diego Toro <dftoro at yahoo.com> wrote:
> >
> >> Hello,
> >>
> >> What error do you get when dll is put on mod/managed ?, I work with
> dll's
> >> on mod/managed although I changed loadfile by loadfrom on loader.cs.
> >>
> >> Diego
> >>
> >>
> >> --- On *Fri, 7/10/09, Phillip Jones <pjintheusa at gmail.com>* wrote:
> >>
> >>
> >> From: Phillip Jones <pjintheusa at gmail.com>
> >> Subject: Re: [Freeswitch-users] managed_mod directories
> >> To: freeswitch-users at lists.freeswitch.org
> >> Date: Friday, July 10, 2009, 6:22 PM
> >>
> >>
> >> It is looking in mod.
> >>
> >> It required the mod\managed directory, but if I place my dll in
> >> mod\managed
> >> it fails. DLL must be in mod - mod\managed is empty.
> >>
> >> My app works fine though
> >>
> >>
> >> Phil
> >>
> >>
> >> On Fri, Jul 10, 2009 at 4:48 PM, Michael Giagnocavo
> >> <mgg at giagnocavo.net<
> http://us.mc335.mail.yahoo.com/mc/compose?to=mgg@giagnocavo.net>
> >> > wrote:
> >>
> >>>  You’re saying that it requires the managed DLL to be in both the mod
> >>> and
> >>> mod\managed directory?  What error do you get if it’s only in mod? It’s
> >>> been
> >>> months, but I just checked loader.cs and it looks explicitly in the
> >>> managed
> >>> directory to resolve assemblies as well as to scan to load them.
> >>>
> >>> -Michael
> >>>
> >>>  *From:*
> >>> freeswitch-users-bounces at lists.freeswitch.org<
> http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users-bounces@lists.freeswitch.org
> >[mailto:
> >>> freeswitch-users-bounces at lists.freeswitch.org<
> http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users-bounces@lists.freeswitch.org
> >]
> >>> *On Behalf Of *Phillip Jones
> >>> *Sent:* Friday, July 10, 2009 11:46 AM
> >>> *To:*
> >>> freeswitch-users at lists.freeswitch.org<
> http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users@lists.freeswitch.org
> >
> >>> *Subject:* [Freeswitch-users] managed_mod directories
> >>>
> >>> Hi there,
> >>>
> >>>
> >>> Using windows with the pre-compiled binary / msi found via the WIKI
> >>>
> >>> Using mod_managed with no problems however:
> >>>
> >>> mod_managed appears to require I create a directory 'managed' under
> >>> C:\Program Files (x86)\FreeSWITCH\mod
> >>>
> >>> BUT also requires that I place my .dll in C:\Program Files
> >>> (x86)\FreeSWITCH\mod and NOT C:\Program Files
> >>> (x86)\FreeSWITCH\mod\managed
> >>>
> >>> thus making C:\Program Files (x86)\FreeSWITCH\mod\managed redundant
> >>>
> >>> Anyone else seen this behavior?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>> Phillip Jones
> >>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org<
> http://us.mc335.mail.yahoo.com/mc/compose?to=Freeswitch-users@lists.freeswitch.org
> >
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>>
> >>>
> >>
> >> -----Inline Attachment Follows-----
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org<
> http://us.mc335.mail.yahoo.com/mc/compose?to=Freeswitch-users@lists.freeswitch.org
> >
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/managed_mod-directories-tp3240303p3243183.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090713/fbfd9270/attachment-0002.html 


More information about the FreeSWITCH-users mailing list