From: Michal Nowak <vinnie@inetia.pl>
To: comp.lang.ada@ada.eu.org
Subject: Re: Named Pipe (FIFO) on Win NT
Date: Mon, 28 May 2001 18:09:35 +0200
Date: 2001-05-28T18:09:35+02:00 [thread overview]
Message-ID: <mailman.991066103.13241.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <20010528042922.2D6A91919D@ada.eu.org>
>I am trying to port an app from Unix to Win NT (Gnat Ada).
>The app uses Named Pipes to send data between programs.
>Have not been able to find "mkfifo" or a Windows equivalent to use.
>
>Is there an easy way to do this? It does not need to be elegant or
>bullet-proof.
>(The Win NT version is for development and test only.)
>
>
>Thanks,
>Peter
You can try with CreateNamedPipe WinAPI function.
Header file: winbase.h
Import library: kernel32.lib
Other function, that can be useful:
CallNamedPipe, ConnectNamedPipe, CreateNamedPipe, CreatePipe,
DisconnectNamedPipe, GetNamedPipeHandleState, GetNamedPipeInfo,
PeekNamedPipe, SetNamedPipeHandleState, TransactNamedPipe,
WaitNamedPipe
You can find more info in MSDN
Vinnie
next parent reply other threads:[~2001-05-28 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010528042922.2D6A91919D@ada.eu.org>
2001-05-28 16:09 ` Michal Nowak [this message]
2001-05-27 21:10 Named Pipe (FIFO) on Win NT Peter Richtmyer
2001-05-28 7:46 ` Tarjei T. Jensen
2001-05-29 14:19 ` Marin David Condic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox