Main Forum > General Computer Support

Attempted to read or write protected memory.

(1/1)

makinero:
This is an application bug, how do  fix this bug - as a suggestion for the application developer (Author app)


When showing all biggest thumbnail images.


--- Code: ---System.AccessViolationException: Attempted to read or write protected memory
                                       w System.Runtime.InteropServices.Marshal.ReadInt32(IntPtr ptr, Int32 ofs)
                                       w System.Windows.Forms.ControlPaint.CreateHBitmapTransparencyMask(Bitmap bitmap)
                                       w System.Windows.Forms.ImageList.AddToHandle(Original original, Bitmap bitmap)
                                       w System.Windows.Forms.ImageList.ImageCollection.Add(Original original, ImageInfo imageInfo)
                                       w System.Windows.Forms.ImageList.ImageCollection.Add(String key, Image image)
--- End code ---


--- Code: ---System.ArgumentException: The value is outside the expected range.
--- End code ---

Navigation

[0] Message Index

Go to full version