AccessViolationException was unhandled by user code

Discussion created by chokahn on Jan 12, 2012
Latest reply on Apr 2, 2012 by rlwatson
I got an access violation exception from my code. Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Stack Trace of exception
   at ESRI.ArcGIS.Display.IDynamicDisplay.DrawPolygon(IPointCollection pointCollection)
   at ndGISMAP.ClassFiles.DynamicLayers.DynamicPolygonLayer.DrawDynamicLayer(esriDynamicDrawPhase DynamicDrawPhase, IDisplay Display, IDynamicDisplay DynamicDisplay) in D:\Tools\DynamicLayers\DynamicPolygonLayer.cs:line 264

i have uploaded my code

Thanks for your helps