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