www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - _lseeki64

↑ ↓ ← 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
→ 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
→ "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