How to save bitmap to a .bmp file?
I write an error when calling TBitmap.SaveToFile :
Project raised exception class EAccessViolation with message ...

PS Do not pay attention that the windows are colored, I just experimented with the system palette, but did not want to restore!