<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><span>Correctly calculate dwFileSize for apps that install their own IOproc, by sending seek messages to the IOproc rather than using _llseek and assuming that wm-&gt;info.adwInfo[0] is a HFILE.&nbsp; Similar to the tentative patch proposed by Eric Pouech (bug 21609), but relies on the wm-&gt;info.lDiskOffset attribute (which IO procs must set themselves according to <a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms712171%28v=VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/ms712171%28v=VS.85%29.aspx</a>) to work out dwFileSize rather than the value returned by the call to send_message.</span><br><br>Have tested and can confirm that this patch fixes bug 21609 and bug 23249 insofar as these relate to Oblivion.&nbsp; Unable to test whether these bugs are fixed for other
 affected apps.&nbsp; May also fix bug 23289.<br><br>Tested on Ubuntu 10.04.<br></div>
</div><br>



      &nbsp;</body></html>