Re: Add my own bitmaps into a resource file?
- From: "Somebody" <Some@xxxxxxxxx>
- Date: Mon, 17 Sep 2007 03:08:15 +0100
"Jamie" <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx> wrote in message
news:wglHi.238$ka4.72@xxxxxxxxxxxxxxx
Somebody wrote:
"Somebody" <Some@xxxxxxxxx> wrote in messageThe NAME has to be all in CAPS!
news:46edbfe4$0$16320$88260bb3@xxxxxxxxxxxxxxxxxxxx
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
Tried that as well Jamie without success.
--
Posted via a free Usenet account from http://www.teranews.com
.
- 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
- Re: Add my own bitmaps into a resource file?
- From: Jamie
- 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):
Relevant Pages
|