mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 07:59:15 +02:00
* OS/2 requires specification of both np_ReadMode* and np_WriteMode*
git-svn-id: trunk@9137 -
This commit is contained in:
parent
16fb9ebdbc
commit
5382ce5c7f
@ -126,7 +126,8 @@ var
|
|||||||
begin
|
begin
|
||||||
if not FileExists (FFileName) then
|
if not FileExists (FFileName) then
|
||||||
if (DosCreateNPipe (PChar (FFileName), H, np_Access_Inbound,
|
if (DosCreateNPipe (PChar (FFileName), H, np_Access_Inbound,
|
||||||
np_ReadMode_Message or 1, PipeBufSize, PipeBufSize, 0) <> 0) or
|
np_ReadMode_Message or np_WriteMode_Message or 1, PipeBufSize,
|
||||||
|
PipeBufSize, 0) <> 0) or
|
||||||
(DosCreateEventSem (PChar (SemName), EventSem, 0, 0) <> 0) or
|
(DosCreateEventSem (PChar (SemName), EventSem, 0, 0) <> 0) or
|
||||||
(DosSetNPipeSem (H, EventSem, PipeKey) <> 0) or
|
(DosSetNPipeSem (H, EventSem, PipeKey) <> 0) or
|
||||||
(DosConnectNPipe (H) <> 0) then
|
(DosConnectNPipe (H) <> 0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user