Tuesday, September 11, 2007

ImageLists and GDI+ in general drive me crazy

I have about had my fill of aggravation working with ImageLists in VS2005. We consistently, intermittently, get the "Image List failed to Load" error on forms that have ImageList object on them. Basically, ImageLists leak GDI resources when they are loaded from an ImageStream and the only way to stop these errors is to get rid of the image lists or possibly, load them from embedded resources. We have chosen to remove the ImageLists...goodbye pretty buttons...

No comments: