Getting the IE cache entry of the image displayed in the IE
-
Hello All, I have an MFC application. In my application I create an instance of IE, and browse to some link, say "www.Adserver.com". After hitting to this link, I always receive an image from the "www.Adserver.com", I will get different image everytime I hit this URL. I need to display this image on one of my dialog in my application, hence I need the handle to URLCacheEntry maintained by window for IE. To get this handle I can use the function GetUrlCacheEntryInfo( IN LPCSTR lpszUrlName,...); however the input parameter to this function "IN LPCSTR lpszUrlName" is something I need to extract from the running instance of IE, which is displaying this image. We can assume that always there will be a single image displayed in IE. Thanks in advance for your replies. Suyash