Cannot load bitmaps from a linked resource.
Brought to you by:
yury_sidorov
You can add bitmaps to a KOL-CE exe by adding to the .rc file, and the exe size increases by the size of the bitmap.
However, there is no way of actually using the bitmap in the resources.
This line causes an error:
bitmap^.LoadFromResourceName(hInstance,'TEST');
If you replace it with this line, it works, but loads from a file instead of the resource:
bitmap^.LoadFromFile('test.bmp');