www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - _lseeki64

reply Henry Thomas <Henry_member pathlink.com> writes:
Is there any support for _lseeki64 in DMC. Is there a Windows DLL I can export
from or is this a proprietary feature of VC?

-h
Dec 18 2002
next sibling parent user domain.invalid writes:
MSVCP**.DLL ??

Henry Thomas wrote:
 Is there any support for _lseeki64 in DMC. Is there a Windows DLL I can export
 from or is this a proprietary feature of VC?
 
 -h
 
 
Dec 18 2002
prev sibling parent "Daniel Fazekas" <fds mailbox.hu> writes:
If it is a Win32 application, it might be more convenient to simply use the
Win32 API file management functions, instead of those of the C run-time
library.

SetFilePointer for example lets you specify two seperate 32-bit values to
form a single signed 64-bit value to cover big distances.

http://msdn.microsoft.com/library/en-us/fileio/base/setfilepointer.asp

You'll have to use CreateFile instead of fopen etc. too.

--
Daniel
Dec 18 2002