Is the app using ImageList_LoadImage{A,W}()? Both functions are using AddMasked without copying the bitmap. Same applies for TREEVIEW_Create()
bye michael
nope, not using AddMasked at all, I checked the traces and commented out the code to simulate the windows bug etc, no change.
It loads the image/mask in using Read which pulls it in from a stream
Here's a screenshot of the type of corruption: