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@connectmevoice.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@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@connectmevoice.com On Mon, Apr 29, 2013 at 11:29 AM, Gregor Nanger <gregor@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@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@connectmevoice.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@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@connectmevoice.com On Fri, Apr 26, 2013 at 12:44 PM, Dave R. Kompel <drk@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@connectmevoice.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@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@connectmevoice.com On Mon, Feb 4, 2013 at 8:25 PM, Dave R. Kompel <drk@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@jefflenk.com] To: freeswitch-users@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-wra... Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list 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