[Freeswitch-users] ESL Client Library Managed wrappers (Windows)

Ira Tessler ira at connectmevoice.com
Fri May 3 15:22:23 MSD 2013


I downloaded a clean clone. If I build the ManagedESL solution first (using
Release,x64). It tells me esl.lib is missed. So, I assume that I have to
build the Freeswitch.2010 solution first (release,x64). So I build that,
then the ManagedESL solution. My application creates a ESLConnection fine,
I subscribe to events fine, but when I get an event, I get a memory
corruption exception. When I use the dll's that you posted, everything
works great.

Also, when you initially load the ManagedESL solution, so you always get a
yellow "!" on the test projects app.config? It seems to be missing.

I just would love to figure this out. Its driving me crazy :).

Thanks.
-- Ira

Ira Tessler
Lead Software Engineer
ConnectMe
(732) 490-9007 x2
ira at connectmevoice.com


On Tue, Apr 30, 2013 at 7:00 PM, Dave R. Kompel <drk at drkngs.net> wrote:

> **
> I don't remember each time I have to figure it out. However the one thing
> that I do remember is that you can only build it from a clean clone, if you
> have built FS there first, the build will fail, cause output files conflict.
>
> --Dave
>
>  ------------------------------
> *From:* Ira Tessler [mailto:ira at connectmevoice.com]
> *To:* FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
> *Sent:* Tue, 30 Apr 2013 14:12:57 -0700
>
> *Subject:* Re: [Freeswitch-users] ESL Client Library Managed wrappers
> (Windows)
>
> When I am building the esl.dll and ManagedEsl.dll, first I load the
> Freeswitch 2010 solution, select the build configuration of Release, x64
> and build the solution. Then I load the ManagedEsl solution and so the
> same. Is this correct?
>
> Ira Tessler
> Lead Software Engineer
> ConnectMe
> (732) 490-9007 x2
> ira at connectmevoice.com
>
>
> On Mon, Apr 29, 2013 at 11:29 AM, Gregor Nanger <gregor at infomedia.si>wrote:
>
>> Great Dave!
>>
>> Thank you.
>>
>> I also had hard time compiling DLLs and also have memory corruption.. Do
>> not remember exactly, but it has to  be right combination of build
>> configuration...
>>
>> Gregor
>>
>>
>> 2013/4/27 Dave R. Kompel <drk at drkngs.net>
>>
>>> **
>>> Same thing happened to me. It seems that for some reason if I build it
>>> on the same machine, and from the same clone that I build the rest of FS I
>>> get the same results. So every time there is a major change to the ESL
>>> stuff, I build from fresh clone on a different machine, where nothing else
>>> in the tree has been built, verfy size of the native DLL, zip, and push up
>>> there, since I use it in a number of projects.
>>>
>>> If I can ever figure out the NuGet powershell magic to build a script
>>> into a NuGet package that will add the build step to also copy the native
>>> interop dll as well as the managed one, I'll push a HuGet package up with
>>> it, and have a CI build trigger on changes to the ESL library.
>>>
>>> --Dave
>>>
>>>  ------------------------------
>>> *From:* Ira Tessler [mailto:ira at connectmevoice.com]
>>> *To:* FreeSWITCH Users Help [mailto:
>>> freeswitch-users at lists.freeswitch.org]
>>> *Sent:* Sat, 27 Apr 2013 05:32:41 -0700
>>>
>>> *Subject:* Re: [Freeswitch-users] ESL Client Library Managed wrappers
>>> (Windows)
>>>
>>> Ok Thanks for the binaries. They work great! I complied them myself. I
>>> set the build configuration to release and x64. When my app tries to access
>>> the esl.dll, I get a memory corruption (i don't remember the exact
>>> exception) exception. It drives me crazy! :)
>>>
>>> Ira Tessler
>>> Lead Software Engineer
>>> ConnectMe
>>> (732) 490-9007 x2
>>> ira at connectmevoice.com
>>>
>>>
>>> On Fri, Apr 26, 2013 at 12:44 PM, Dave R. Kompel <drk at drkngs.net> wrote:
>>>
>>>> **
>>>> Ira,
>>>>
>>>> It is a pain, since you have to have our dev box set up right. For that
>>>> reason I keep this: http://download.drknetworking.com/eslmanaged.zip around
>>>> for ppl, it has both native wrappers in it.
>>>>
>>>> --Dave
>>>>
>>>>  ------------------------------
>>>> *From:* Ira Tessler [mailto:ira at connectmevoice.com]
>>>> *To:* FreeSWITCH Users Help [mailto:
>>>> freeswitch-users at lists.freeswitch.org]
>>>> *Sent:* Fri, 26 Apr 2013 04:18:22 -0700
>>>> *Subject:* Re: [Freeswitch-users] ESL Client Library Managed wrappers
>>>> (Windows)
>>>>
>>>> I am having the same trouble building the ESL. Would you be able to
>>>> post the steps you did to build both the 32 and 64 bit versions is esl.dll
>>>> and managedesl.dll?
>>>>
>>>> Thanks for the binaries!
>>>>
>>>> --Ira
>>>>
>>>> Ira Tessler
>>>> Lead Software Engineer
>>>> ConnectMe
>>>> (732) 490-9007 x2
>>>> ira at connectmevoice.com
>>>>
>>>>
>>>> On Mon, Feb 4, 2013 at 8:25 PM, Dave R. Kompel <drk at drkngs.net> wrote:
>>>>
>>>>> **
>>>>> Getting it to swig right, and getting the native DLL built for X64 was
>>>>> give me a problem, till I did it on a diferent box.
>>>>>
>>>>> I notice you added the VS2012 projects for it as well about an hour
>>>>> ago :) Thanks.
>>>>>
>>>>> --Dave
>>>>>
>>>>>  ------------------------------
>>>>> *From:* Jeff Lenk [mailto:jeff at jefflenk.com]
>>>>> *To:* freeswitch-users at lists.freeswitch.org
>>>>> *Sent:* Mon, 04 Feb 2013 16:37:20 -0800
>>>>> *Subject:* Re: [Freeswitch-users] ESL Client Library Managed wrappers
>>>>> (Windows)
>>>>>
>>>>> Dave I'm curious what was wrong? The solution should build without
>>>>> changing
>>>>> anything.
>>>>>
>>>>> You have to build FreeSWITCH for the platform you want then open the
>>>>> esl
>>>>> solution and select the platform you want. The only caveat here is that
>>>>> because you are building code that is platform specific that you have
>>>>> to
>>>>> specify the correct platform and not "Any Cpu" or "Mixed Platform".
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://freeswitch-users.2379917.n2.nabble.com/ESL-Client-Library-Managed-wrappers-Windows-tp7586973p7587003.html
>>>>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.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
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.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
>>>>
>>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.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
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.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
>>
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.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/20130503/b73e6901/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list