AccessViolationException coming from mapscript_csharp.dll

Tamas Szekeres szekerest at GMAIL.COM
Tue Dec 4 16:08:04 EST 2007


Jim,

Could you extract a working example to reproduce this problem?

Best regards,

Tamas



2007/12/4, Jim Bartol <jbartol at mmm.com>:
>
>
> 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:
>          // Assembly *mapscript_csharp*, Version 1.0.2894.5796
>
> 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.  Any
> insight on this problem would be much appreciated.
>
> Thanks,
> Jim
>
>
>
>
>
>
> Jim,
>
> 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:
>
> *http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip*<http://www.coordinatesolutions.com/download/MapserverTestVB_50.zip>
>
> David Lowther
>
> Coordinate Solutions, Inc.
> 904.471.5528 (Voice)
> 405.210.1721 (Mobile)
> 904.471.5548 (Fax)
> www.coordinatesolutions.com
>
>
>
> Jim,
>
> I don't know much about this package, you should make a test with the
> recent version.
> For testing purposes you can download the recent builds for windows from
> here:
>
> http://vbkto.dyndns.org:1080/mapserver/szekerest-vc71-full/package/bin.zip
> http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80-full/package/bin.zip
>
> http://vbkto.dyndns.org:1080/mapserver/szekerest-vc80x64-full/package/bin.zip
>
> The binaries of the current stable version are included in the latest
> ms4w release.
>
> Best regards,
>
> Tamas
>
>
> 2007/12/3, Jim Bartol <jbartol at mmm.com>:
> >
> > I have been using Mapscript C# binaries that I obtained from
> > http://www.coordinatesolutions.com/download/ in a WinForms
> > application that I developed.  On occasion I get an
> AccessViolationException
> > error in Visual Studio 2005 in a method that calls the draw() method of
> a
> > mapObj (see attached file).  I have seen several references to memory
> > problems in the LISTSERV archives (e.g., items 021776 and 018310) and am
> > wondering whether this issue may have already been addressed?  If it has
> > been resolved, is a compiled set of binaries for Mapserver 5.0, similar
> the
> > code in the link above, available for download?
> >
> > Thank you for any insight on this matter,
> > jb
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071204/6c3c483d/attachment.html


More information about the mapserver-users mailing list