Loading Images (bmp, gif, jpg) in TP 5.5

Hello all.  I'm using Borland TP 5.5, so some of your advice might not
help, but I was hoping some kind soul out there would tell me how to load
gifs, jpgs, and bmps into a pascal program.  I've tried some sample sources
I found at web pages, but they didn't work very well.  Anyway, thanx in

                                BTW: I know how much you all hate pirating software, and I don't expect
a reply to this, but if anyone knows where to obtain TP 6 or higher for
reasonably cheap or free, please let me know.