<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<DIV>I don't think anyone has updated the unit test project to go a long with the code. It should really be deleted from the tree.</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> Ferenc Sárközy [mailto:sarkozyf@gmail.com]<BR><B>To:</B> freeswitch-users@lists.freeswitch.org<BR><B>Sent:</B> Thu, 05 Dec 2013 00:24:28 -0800<BR><B>Subject:</B> [Freeswitch-users] ManagedEslTest.2010 throws System.AccessViolationException<BR><BR>
<DIV><BR>Hi all!
<DIV>I made some more experiments with ManagedEslTest. I have tried to build a functioning one with Win 7 64bit with VS2010 and with VS2012, neither worked, the symptoms, are the same. On the other hand FSClient build and run in Release mode. Can you give any hint what should I check in ManagedEslTest solution?</DIV>
<DIV>Thanks:</DIV>
<DIV>Ferenc</DIV>
<DIV><BR>
<DIV class=gmail_quote><BR><BR>
<DIV>
<DIV class=h5>
<P>Hi!<BR>I would like to build an ESL application on 32bit Windows 7 with Visual Studio 2010.<BR>I git cloned Freeswitch stable.<BR>It was compiled with success.<BR>I opened libs\esl\managed\Managed_esl_2010.sln, as a whole solution. It was compiled as well. <BR>If I start ManagedEslTest.2010 in VS, it seems to be running fine.<BR>If I compile it with Debug mode and run it from command line, it seems to be running fine.<BR>If i compile it with Release mode and run it outside VS it throws:System.AccessViolationException @ <BR>CSharp_ESLevent_Serialize(Void* jarg1, SByte* jarg2) libs\esl\managed\esl_wrap.cpp, line: 414</P>
<P>I have found only this JIRA 'issue':<BR>- <A href="http://jira.freeswitch.org/browse/ESL-63">http://jira.freeswitch.org/browse/ESL-63</A><BR>and this so entry:<BR>- <A href="http://stackoverflow.com/questions/19912087/initialising-the-core-using-freeswitch-embedded">http://stackoverflow.com/questions/19912087/initialising-the-core-using-freeswitch-embedded</A><BR>which are about similar problems, but they didn't really helped, because x64 is not involved here.<BR>If you could help, i would really appreciate it.</P>
<P>Thank you in advance:<BR>Ferenc Sárközy</P></DIV></DIV></DIV><BR></DIV></DIV></BLOCKQUOTE>
<STYLE>
</STYLE>
<DIV> </DIV>
<DIV> </DIV></body></html>