Re: Add my own bitmaps into a resource file?




"Somebody" <Some@xxxxxxxxx> wrote in message
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.



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Add my own bitmaps into a resource file?
    ... I am using G-Soft's FastLIB ... Even if you don't know this package am I using the correct syntax or barking ... up the wrong tree? ... Posted via a free Usenet account from http://www.teranews.com ...
    (comp.lang.pascal.delphi.misc)
  • Re: Junk Dna!
    ... you have neglected to put that group into your tree. ... The rest have the quality of being a square of 2 or some ... The scheme puts the & then (the ... just so nobody turns round and says 2 isnt the root. ...
    (talk.origins)
  • Re: tree roots
    ... expressed an interest in getting rid of the tree. ... The surface root is raising the fence and Iwant to ... I had pine tree roots lifting my sidewalk. ... sidewalk square back, and I had to do it two more times. ...
    (alt.home.repair)
  • Re: Add my own bitmaps into a resource file?
    ... I am using G-Soft's FastLIB ... I just end up with a blank square which makes me think it's not loading the appropriate image. ... The NAME has to be all in CAPS! ... upper case only .. ...
    (comp.lang.pascal.delphi.misc)
  • Re: complete the square puzzles
    ... I came across this 'complete the square' puzzle in a book (puzzle ... defeat and had to resort to programming to solve it. ... Proceed building the tree of possibilities until you have say 20 to 50 nodes. ...
    (rec.puzzles)