I don't want to link to gdiplus.lib since that'd require GDI+ is available, and I know it's not on some OSs (Cue someone telling me it's only not available on Windows 98 or something [smile]).
So, my code loads gdiplus.dll, and uses GetProcAddress() to get the address of the functions I need. I get a list of the decoders available on the system, so I can see what file formats are available for the Open File dialog. When a file is opened, I use the Bitmap::FromFile function (Well, DLL export of it) to load the image file, then Bitmap::GetHBITMAP to get a GDI compatible HBITMAP to play with, then I destroy the GDI+ image.
Fun, but probably pointless. But I can now load windows metafiles, JPEGs, PNGs, and so on.
Right, bed time. Office Christmas party tomorrow which could be entertaining. Or dreadul, we'll see.