I am trying to load a 256-colour bitmap into a TImage component from a resource. This is my code:
[pascal]Image.Picture.Bitmap.LoadFromResourceName(HInstanc e, 'MYBITMAP');[/pascal]
However, this raises an EResNotFound exception. I have checked that my application has {$R *.res}, and there most definately is a bitmap called 'MYBITMAP'. Can anyone see what could be going wrong?