Author Topic: Attempted to read or write protected memory.  (Read 4913 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Attempted to read or write protected memory.
« on: December 22, 2015, 04:51:41 am »
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: [Select]
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)

Code: [Select]
System.ArgumentException: The value is outside the expected range.
« Last Edit: December 22, 2015, 04:53:46 am by makinero »