From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d153889ffa2b6d10 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-28 09:08:27 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!freenix!enst!enst.fr!not-for-mail From: Michal Nowak Newsgroups: comp.lang.ada Subject: Re: Named Pipe (FIFO) on Win NT Date: Mon, 28 May 2001 18:09:35 +0200 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <20010528042922.2D6A91919D@ada.eu.org> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Content-Transfer-Encoding: 7BIT X-Trace: avanie.enst.fr 991066104 54147 137.194.161.2 (28 May 2001 16:08:24 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 28 May 2001 16:08:24 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-reply-to: <20010528042922.2D6A91919D@ada.eu.org> X-Mailer: Calypso Version 2.40.40 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:7830 Date: 2001-05-28T18:09:35+02:00 >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