<div dir="ltr">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&#39;s that you posted, everything works great.<div>
<br></div><div>Also, when you initially load the ManagedESL solution, so you always get a yellow &quot;!&quot; on the test projects app.config? It seems to be missing.<br><div><br></div><div style>I just would love to figure this out. Its driving me crazy :).</div>
<div style><br></div><div style>Thanks.</div><div style>-- Ira</div></div></div><div class="gmail_extra"><br clear="all"><div>Ira Tessler<br>Lead Software Engineer<br>ConnectMe<br>(732) 490-9007 x2<br><a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a></div>

<br><br><div class="gmail_quote">On Tue, Apr 30, 2013 at 7:00 PM, Dave R. Kompel <span dir="ltr">&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

<div>
<div>I don&#39;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.</div>

<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px"><div class="im">
<hr>
<b>From:</b> Ira Tessler [mailto:<a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a>]<br><b>To:</b> FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>]<br>
</div><b>Sent:</b> Tue, 30 Apr 2013 14:12:57 -0700<div><div class="h5"><br><b>Subject:</b> Re: [Freeswitch-users] ESL Client Library Managed wrappers (Windows)<br><br>
<div>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?</div>

<div class="gmail_extra"><br clear="all">
<div>Ira Tessler<br>Lead Software Engineer<br>ConnectMe<br><a href="tel:%28732%29%20490-9007%20x2" value="+17324909007" target="_blank">(732) 490-9007 x2</a><br><a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a></div>
<br><br>
<div class="gmail_quote">On Mon, Apr 29, 2013 at 11:29 AM, Gregor Nanger <span>&lt;<a href="mailto:gregor@infomedia.si" target="_blank">gregor@infomedia.si</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>Great Dave!
<div><br></div>
<div>Thank you.</div>
<div><br></div>
<div>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...</div>
<div><br></div>
<div>Gregor</div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/4/27 Dave R. Kompel <span>&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div>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.</div>

<div> </div>
<div>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&#39;ll push a HuGet package up with it, and have a CI build trigger on changes to the ESL library.</div>

<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div>
<hr>
<b>From:</b> Ira Tessler [mailto:<a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a>]<br><b>To:</b> FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>]<br>
</div><b>Sent:</b> Sat, 27 Apr 2013 05:32:41 -0700
<div>
<div><br><b>Subject:</b> Re: [Freeswitch-users] ESL Client Library Managed wrappers (Windows)<br><br>
<div>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&#39;t remember the exact exception) exception. It drives me crazy! :)</div>

<div class="gmail_extra"><br clear="all">
<div>Ira Tessler<br>Lead Software Engineer<br>ConnectMe<br><a href="tel:%28732%29%20490-9007%20x2" target="_blank">(732) 490-9007 x2</a><br><a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a></div>
<br><br>
<div class="gmail_quote">On Fri, Apr 26, 2013 at 12:44 PM, Dave R. Kompel <span>&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div>Ira,</div>
<div> </div>
<div>It is a pain, since you have to have our dev box set up right. For that reason I keep this: <a href="http://download.drknetworking.com/eslmanaged.zip" target="_blank">http://download.drknetworking.com/eslmanaged.zip</a> around for ppl, it has both native wrappers in it.</div>

<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<hr>
<b>From:</b> Ira Tessler [mailto:<a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a>]<br><b>To:</b> FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>]<br>
<b>Sent:</b> Fri, 26 Apr 2013 04:18:22 -0700<br><b>Subject:</b> Re: [Freeswitch-users] ESL Client Library Managed wrappers (Windows)<br><br>
<div>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? 
<div><br></div>
<div>Thanks for the binaries!</div>
<div><br></div>
<div>--Ira</div></div>
<div class="gmail_extra"><br clear="all">
<div>Ira Tessler<br>Lead Software Engineer<br>ConnectMe<br><a href="tel:%28732%29%20490-9007%20x2" target="_blank">(732) 490-9007 x2</a><br><a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a></div>
<br><br>
<div class="gmail_quote">On Mon, Feb 4, 2013 at 8:25 PM, Dave R. Kompel <span>&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div>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. </div>
<div> </div>
<div>I notice you added the VS2012 projects for it as well about an hour ago :) Thanks.</div>
<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<hr>
<b>From:</b> Jeff Lenk [mailto:<a href="mailto:jeff@jefflenk.com" target="_blank">jeff@jefflenk.com</a>]<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Sent:</b> Mon, 04 Feb 2013 16:37:20 -0800<br><b>Subject:</b> Re: [Freeswitch-users] ESL Client Library Managed wrappers (Windows)<br><br>Dave I&#39;m curious what was wrong? The solution should build without changing<br>
anything.<br><br>You have to build FreeSWITCH for the platform you want then open the esl<br>solution and select the platform you want. The only caveat here is that<br>because you are building code that is platform specific that you have to<br>
specify the correct platform and not &quot;Any Cpu&quot; or &quot;Mixed Platform&quot;.<br><br><br><br><br>--<br>View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/ESL-Client-Library-Managed-wrappers-Windows-tp7586973p7587003.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/ESL-Client-Library-Managed-wrappers-Windows-tp7586973p7587003.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</blockquote>
<div> </div>
<div> </div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></blockquote>
<div> </div>
<div> </div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></div></blockquote>
<div> </div>
<div> </div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></div></blockquote>


<div> </div>
<div> </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>