<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<table width=100%>
<tr valign=top>
<td colspan=2 bgcolor=#ffffe1><font size=2 face="Tahoma">// Assembly <b>mapscript_csharp</b>,
Version 1.0.2894.5796</font></table>
<br>
<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Jim</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br><font size=2 color=#000080 face="Trebuchet MS">Jim,</font>
<br><font size=2 color=#000080 face="Trebuchet MS">&nbsp;</font>
<br><font size=2 color=#000080 face="Trebuchet MS">I&#8217;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 size=2 color=#000080 face="Trebuchet MS">&nbsp;</font>
<br><a href=http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip><font size=2 color=blue face="Trebuchet MS"><u>http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip</u></font></a>
<br><font size=2 color=#000080 face="Trebuchet MS">&nbsp;</font>
<br><font size=2 color=#000080 face="Trebuchet MS">David Lowther</font>
<br><font size=2 color=#000080 face="Trebuchet MS">&nbsp;</font>
<br><font size=2 color=#000080 face="Trebuchet MS">Coordinate Solutions,
Inc.</font>
<br><font size=2 color=#000080 face="Trebuchet MS">904.471.5528 (Voice)</font>
<br><font size=2 color=#000080 face="Trebuchet MS">405.210.1721 (Mobile)</font>
<br><font size=2 color=#000080 face="Trebuchet MS">904.471.5548 (Fax)</font>
<br><font size=2 color=#000080 face="Trebuchet MS">www.coordinatesolutions.com</font>
<br>
<br>
<br>
<br><tt><font size=2>Jim,<br>
<br>
I don'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>
http://vbkto.dyndns.org:1080/mapserver/szekerest-vc71-full/package/bin.zip<br>
http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80-full/package/bin.zip<br>
http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80x64-full/package/bin.zip<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;jbartol@mmm.com&gt;:<br>
&gt;<br>
&gt; I have been using Mapscript C# binaries that I obtained from<br>
&gt; http://www.coordinatesolutions.com/download/ 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>