Re: Add my own bitmaps into a resource file?
- From: "Somebody" <Some@xxxxxxxxx>
- Date: Mon, 17 Sep 2007 01:35:51 +0100
Works splendidly using.
mybitmap.LoadFromResourceName(hinstance,'myresource');
However, I am using G-Soft's FastLIB
http://www.torry.net/authorsmore.php?id=1117 and I can't get it to work with
that. I just end up with a blank square which makes me think it's not
loading the appropriate image.
fastimg1.bmp.LoadFromRes(hInst:Cardinal; ResID:PAnsiChar;
ResType:PAnsiChar);
is what it's asking for so I'm entering
fastimg1.bmp.LoadFromRes(hinstance,'abcdef','bitmap');
fastimg1.repaint;
abcdef is the resource file name. bitmap is the actual word "bitmap".
Even if you don't know this package am I using the correct syntax or barking
up the wrong tree?
Thanks for any pointers.
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Add my own bitmaps into a resource file?
- From: Somebody
- Re: Add my own bitmaps into a resource file?
- References:
- Add my own bitmaps into a resource file?
- From: Somebody
- Add my own bitmaps into a resource file?
- Prev by Date: Re: Add my own bitmaps into a resource file?
- Next by Date: Re: Add my own bitmaps into a resource file?
- Previous by thread: Re: Add my own bitmaps into a resource file?
- Next by thread: Re: Add my own bitmaps into a resource file?
- Index(es):