Tweaking.com Support Forums

Main Forum => General Computer Support => Topic started by: makinero on December 22, 2015, 04:51:41 am

Title: Attempted to read or write protected memory.
Post by: makinero 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.