Hi,
 
I use the method layer.getShape(shape, tileIndex, result.shapeindex) and I've got a sporadic error wich throws this AccessViolationException : "Attempted to read or write protected memory. This is often an indication that other memory is corrupt
The StackTrace is :

à mapscriptPINVOKE.layerObj_getShape(HandleRef jarg1, HandleRef jarg2, Int32 jarg3, Int32 jarg4)

à layerObj.getShape(shapeObj shape, Int32 tileindex, Int32 shapeindex)

à DI_DIFILE.DrawImg(Int32 Maprange, Int32 Mapsize, String Layer, String LayerIDValue, String Mapfile, String LayerID)

 

Do you have an idea to fix this bug ?

 

Reply via email to