Urgent - How to load and display tiff files using C++?

Hi!

Does anyone knows how to write a tiff file loader using VC++ or already has such a program? Could you please kindly enlighten me!! Thanks!! I would appreciate any recommendation of related websites too. Thanks!!

ps. I now have a MFC program that loads and display 24-bit bitmaps, how do i modify it to cater to 8-bit or 32-bit bitmaps?

http://www.dcs.ed.ac.uk/home/mxr/gfx/2d-hi.html