Jim,<br><br>Could you extract a working example to reproduce this problem?<br><br>Best regards,<br><br>Tamas<br><br><br><br><div><span class="gmail_quote">2007/12/4, Jim Bartol &lt;<a href="mailto:jbartol@mmm.com">jbartol@mmm.com
</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font face="sans-serif" size="2">I have rebuilt my project using the
updated dll files provided by David Lowther in his test harness application
as provided in the link below, which uses the following version of the
mapscript_csharp.dll:</font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<table width="100%">
<tbody><tr valign="top">
<td colspan="2" bgcolor="#ffffe1"><font face="Tahoma" size="2">// Assembly <b>mapscript_csharp</b>,
Version 1.0.2894.5796</font></td></tr></tbody></table>
<br>
<br><font face="sans-serif" size="2">My application runs OK most of the time,
but on occasion I am still getting an AccessViolationException that is
coming from the mapscript_csharp dll (see attached file) when I invoke
the draw() method of a mapObj. &nbsp;Any insight on this problem would
be much appreciated.</font>
<br>
<br><font face="sans-serif" size="2">Thanks,</font>
<br><font face="sans-serif" size="2">Jim</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br><font color="#000080" face="Trebuchet MS" size="2">Jim,</font>
<br><font color="#000080" face="Trebuchet MS" size="2">&nbsp;</font>
<br><font color="#000080" face="Trebuchet MS" size="2">I'm glad the previous
test harness was useful. I went ahead and updated the application with
the bin directory Tamas sent links for yesterday. You can download the
files here:</font>
<br><font color="#000080" face="Trebuchet MS" size="2">&nbsp;</font>
<br><a href="http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="Trebuchet MS" size="2"><u>http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip
</u></font></a>
<br><font color="#000080" face="Trebuchet MS" size="2">&nbsp;</font>
<br><font color="#000080" face="Trebuchet MS" size="2">David Lowther</font>
<br><font color="#000080" face="Trebuchet MS" size="2">&nbsp;</font>
<br><font color="#000080" face="Trebuchet MS" size="2">Coordinate Solutions,
Inc.</font>
<br><font color="#000080" face="Trebuchet MS" size="2">904.471.5528 (Voice)</font>
<br><font color="#000080" face="Trebuchet MS" size="2">405.210.1721 (Mobile)</font>
<br><font color="#000080" face="Trebuchet MS" size="2">904.471.5548 (Fax)</font>
<br><font color="#000080" face="Trebuchet MS" size="2"><a href="http://www.coordinatesolutions.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.coordinatesolutions.com</a></font>
<br>
<br>
<br>
<br><tt><font size="2">Jim,<br>
<br>
I don&#39;t know much about this package, you should make a test with the<br>
recent version.<br>
For testing purposes you can download the recent builds for windows from
here:<br>
<br>
<a href="http://vbkto.dyndns.org:1080/mapserver/szekerest-vc71-full/package/bin.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://vbkto.dyndns.org:1080/mapserver/szekerest-vc71-full/package/bin.zip
</a><br>
<a href="http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80-full/package/bin.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80-full/package/bin.zip
</a><br>
<a href="http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80x64-full/package/bin.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80x64-full/package/bin.zip
</a><br>
<br>
The binaries of the current stable version are included in the latest<br>
ms4w release.<br>
<br>
Best regards,<br>
<br>
Tamas<br>
<br>
<br>
2007/12/3, Jim Bartol &lt;<a href="mailto:jbartol@mmm.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jbartol@mmm.com</a>&gt;:<br>
&gt;<br>
&gt; I have been using Mapscript C# binaries that I obtained from<br>
&gt; <a href="http://www.coordinatesolutions.com/download/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.coordinatesolutions.com/download/</a> in a WinForms<br>
&gt; application that I developed. &nbsp;On occasion I get an AccessViolationException<br>
&gt; error in Visual Studio 2005 in a method that calls the draw() method
of a<br>
&gt; mapObj (see attached file). &nbsp;I have seen several references to
memory<br>
&gt; problems in the LISTSERV archives (e.g., items 021776 and 018310)
and am<br>
&gt; wondering whether this issue may have already been addressed? &nbsp;If
it has<br>
&gt; been resolved, is a compiled set of binaries for Mapserver 5.0, similar
the<br>
&gt; code in the link above, available for download?<br>
&gt;<br>
&gt; Thank you for any insight on this matter,<br>
&gt; jb<br>
&gt;<br>
&gt;</font></tt><br clear="all"></blockquote></div><br>