>>:_Murray
不行,图片在这:http://61.139.81.1/ValidateCodeServlet?action=ShowValidateCode1
可能是用流直接写到客户的,现在已经用这种方法找到了图片:
function GetUrlCacheLocalFileName(UrlName:String;var LocalFName:String):boolean;
var
lpCacheEntryInfo: PInternetCacheEntryInfo;
DSize: Cardinal;
begin
result := false;
DSize := 0;
GetUrlCacheEntryInfo(PChar(UrlName),lpCacheEntryInfo^,DSize);
GetMem(lpCacheEntryInfo,DSize);
try
if GetUrlCacheEntryInfo(PChar(UrlName),lpCacheEntryInfo^,DSize) then
begin
LocalFName := lpCacheEntryInfo.lpszLocalFileName;
result := true;
end;
finally
FreeMem(lpCacheEntryInfo,DSize);
end;
end;
我想能不能直接找到这内存流,怎样判断IE缓冲区里的这个文件就是最新的呢,也就是说网完完成后的那个事件是什么?