Article View: borland.public.cppbuilder.nativeapi
Article #7188Re: CreateNamedPipe woes
From: Helmut Giese
Date: Mon, 28 Feb 2005 13:31
Date: Mon, 28 Feb 2005 13:31
21 lines
1634 bytes
1634 bytes
On Sun, 27 Feb 2005 14:54:24 -0800, "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"Helmut Giese" <hgiese@ratiosoft.com> wrote in message >news:42224947.14149000@forums.borland.com... > >> However, if I let the server run without break points >> and without any debug output it hangs. Very infuriating. > >Please show your actual code. Chances are, you are not managing the >communications properly. The biggest annoyance with named pipes is that you >cannot have the client and server both reading from the pipe, or both >writing to the pipe, at the same time. When one is writing, the other has >to be reading, and vice versa. Hi Gambit, I dropped the multithreading aspect from the example since I don't really need it currently, and the basic stuff seems to work now. I'll be back as soon as new problems arise :) Thanks Helmut Giese
Technical Details
Message-ID:
<42231c85.1181944@forums.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42224947.14149000@forums.borland.com> <42224f91$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4170226dfe030e52 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: hgiese@ratiosoft.com (Helmut Giese) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: CreateNamedPipe woes Date: Mon, 28 Feb 2005 13:31:18 GMT Message-ID: <42231c85.1181944@forums.borland.com> References: <42224947.14149000@forums.borland.com> <42224f91$1@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 217.80.128.79 X-Trace: newsgroups.borland.com 1109597421 217.80.128.79 (28 Feb 2005 05:30:21 -0800) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail