Hello,
OFFile::fseek use _fstati64 to get file size for WIN32 plaforms.
I have a question about that. Why you don't use _fseeki64.
I am writing about that because VS2015 has a bug with _fstati64 on WindowsXP. It doesn't work. https://connect.microsoft.com/VisualStu ... -xp-always
Simeon
about _fstati64
Moderator: Moderator Team
about _fstati64
Simeon Antonov
-
- DCMTK Developer
- Posts: 2541
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: about _fstati64
I guess that's because _fstati64() is the official way of doing it? And...OFFile::fseek use _fstati64 to get file size for WIN32 plaforms.
I have a question about that. Why you don't use _fseeki64.
I didn't knew that (I guess the same applies to the author of this DCMTK function/method). But the comment "Posted by James [MSFT] on 9/15/2015 at 12:24 PM" seems to indicate that the bug is fixed now, right?I am writing about that because VS2015 has a bug with _fstati64 on WindowsXP. It doesn't work.
Just out of curiosity: Who is still using Windows XP, and who is using VS2015 on/for this outdated Windows version?
Re: about _fstati64
I was curios why we have to use _fstati64 to implement seek. There is a comment in the file that there is no 64 bit seek for WIN32.
This issue is not fixed yet in VS2015 update 3.
Many users still use Windows XP I know that is old Windows version, but ...
Nevermind, Please delete this topic, because it is meaningless.
This issue is not fixed yet in VS2015 update 3.
Many users still use Windows XP I know that is old Windows version, but ...
Nevermind, Please delete this topic, because it is meaningless.
Simeon Antonov
-
- DCMTK Developer
- Posts: 2541
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: about _fstati64
Don't worry, this discussion is certainly not meaningless
But, if there is no _fseeki64 on Windows 32-bit and if _fstati64 does not (always) work correctly, what to do then? Do you have a proposal?
But, if there is no _fseeki64 on Windows 32-bit and if _fstati64 does not (always) work correctly, what to do then? Do you have a proposal?
Who is online
Users browsing this forum: Google [Bot] and 1 guest