https://bugs.winehq.org/show_bug.cgi?id=37637 Bug ID: 37637 Summary: CreateNamedPipe, ReadFile, PIPE_WAIT or BufferSize problem Product: Wine Version: 1.7.30 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: den.aria(a)gmail.com Distribution: --- I have problem in Wine when reading data from NamePipe, when data is bigger than 36672. 1 Create Pipe hPipe := CreateNamedPipe(Name, PIPE_ACCESS_DUPLEX, PIPE_WAIT or PIPE_TYPE_BYTE or PIPE_READMODE_BYTE, MAX_PIPE_INSTANCES, 0,//MAX_WRITE, 0,//MAX_READ, TIME_OUT, @sa);
PIPE_WAIT MAX_WRITE and MAX_READ can be random value, from 0 > 999999999
2 Reading data if not ReadFile(APipe, msData.Memory^, cBuffer, cBytesRead, nil) then begin Exit; end; I got result True but not all data is read. cBuffer > cBytesRead, ( cBytesRead = 36672 maximum) I need do loop for reading all data from PIPE. --------- In windows i don't have this problem. Help me. :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.