Re: Add my own bitmaps into a resource file?
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Sun, 16 Sep 2007 22:20:12 -0400
Somebody wrote:
"Somebody" <Some@xxxxxxxxx> wrote in message news:46edbfe4$0$16320$88260bb3@xxxxxxxxxxxxxxxxxxxxThe NAME has to be all in CAPS!
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.
I also tried rt_bitmap in place of the word 'bitmap' without success.
upper case only ..
no lower case.
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- 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
- Re: Add my own bitmaps into a resource file?
- From: Somebody
- Re: 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: MessageBox Email / Web link
- 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):
Relevant Pages
|