S
sona
hi all
i m using the function SetFilePointer to move the file pointer to a
64-bit offset.
i m using it as follows n writting my data but everytime it jumps to
the same location for ne offset value which i guess is 2^32.
LARGE_INTEGER li;
li = distance //64-bit offset
li.LowPart = SetFilePointer(hfile,li.LowPart,&li.HighPart,FILE_BEGIN);
li.LowPart has the lower 32 bit and li.HighPart has the higher 32-bit
values of the 64-bit offset. the retun value is correct for the
function the file pointer is stuck at one position for all inputs.
kindly help....
sona
i m using the function SetFilePointer to move the file pointer to a
64-bit offset.
i m using it as follows n writting my data but everytime it jumps to
the same location for ne offset value which i guess is 2^32.
LARGE_INTEGER li;
li = distance //64-bit offset
li.LowPart = SetFilePointer(hfile,li.LowPart,&li.HighPart,FILE_BEGIN);
li.LowPart has the lower 32 bit and li.HighPart has the higher 32-bit
values of the 64-bit offset. the retun value is correct for the
function the file pointer is stuck at one position for all inputs.
kindly help....
sona