2^32-2 = 4,294,967,294 or about 4GB. Based on Luthfi's earlier answer, I believe we have found the issue.
Google Map does not load in Magento store locator page.
eCommDev - Oct 13 2016 05:09 AM
Unable To Find Links To Proper Php7 Courses or Tutorials Be They Free Or Paid !
uniqueideaman - Oct 12 2016 01:53 PM
HostForLIFE.eu – Cheap Windows & ASP.NET Core 1.0.1 hosting | UNLIMITED Diskspace
EUWindowsHost - Oct 09 2016 07:54 PM
Simple while loop, i mean really simple and i cant do it :(
Siten0308 - Oct 05 2016 11:54 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Posted 08 March 2013 - 08:39 PM
WingedPanther had summed it up for you. Both your free space sizes surpass the limitation of SetFilePointer (when missing lpDistanceToMoveHigh). Actually it seems that my earlier answer was based from wrong documentation. The online documentation (which url I gave you already) states that the limitation would be (2^31)-2. So, actually the limitation is 2GB-2B. Now we have the answer to what caused the failure in your code.
The solution? Make SetFilePointer to use proper lpDistanceToMoveHigh value. I don't recommend to alter TFileStream, so you better rewrite your code to directly use windows api instead of TFileStream.
Edited by LuthfiHakim, 08 March 2013 - 08:39 PM.