I have tree with resources from executable. I'm getting it as below:
ICO.Handle := CreateIconFromResourceEx(Memory, Size, &Type = Longint(RT_ICON), $30000, 0, 0, 0);
If I want to display it (eg. assign TIcon to TBitmap), this working for both icons and cursors, but if I want to save it, this working only for icons and for cursors raises
exception class EInvalidGraphic with message 'Bitmap image is not valid'.
F1, please