Hampus, it might help if everything is in bytes and before each read you show bytwswritten and buflen
PS could it be that the file pointer gets shifted someohow (SetFilePointer)? So we do not start the read at bytwswritten? Also see if the asyn example helps http://msdn2.microsoft.com/en-us/library/aa365690(VS.85).aspx
Hampus, it might help if everything is in bytes and before each read you show bytwswritten and buflen
PS could it be that the file pointer gets shifted someohow (SetFilePointer)? So we do not start the read at bytwswritten? Also see if the asyn example helps http:// msdn2.microsoft .com/en- us/library/ aa365690( VS.85). aspx