I have scenario where loading bmp images using the code given. This code is working fine and the filename would be a local or unc file location. I want to load the bmp using the url location. for example in this case the file will be
I have tried this url as path and using that method it couldn't load the bmp. Can anybody help how to get the hBitmap object properly read from the url so that I can attach that as per the use given in the code..
Thanks In advance..
hBitmap = (HBITMAP)::LoadImage(AfxGetInstanceHandle(), filename, IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE|LR_LOADFROMFILE|LR_DEFAULTCOLOR);