Article View: borland.public.cppbuilder.nativeapi
Article #1415ConnectNamedPipe and closing Application
From: newbie
Date: Wed, 22 Aug 2007 15:04
Date: Wed, 22 Aug 2007 15:04
19 lines
1557 bytes
1557 bytes
Hello, This is the first time I am using Pipes, so I am using code based on the Microsoft example (Multithreaded Pipe Server) found at http://msdn2.microsoft.com/en-us/library/aa365588.aspx I have implemented (copy\pasted) the code in a vcl form for testing purposes but it will eventually be moved to a TService. As implemented, ConnectNamedPipe waits for a client to connect, however this locks the application which prevents the user from closing or any other actions. I assume this would also prevent me from closing or restarting a service aswell. Any suggestions on how to change, or deal with this behavior? Thanks in advance, newbie
Technical Details
Message-ID:
<46cc5077$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,75a6e7b4be820a,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "newbie" <ms_crack@yahoo.com> Sender: "newbie" <ms_crack@yahoo.com> Reply-To: "newbie" <ms_crack@yahoo.com> Subject: ConnectNamedPipe and closing Application Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 138.11.0.153 X-Forwarded-For: unknown NNTP-Posting-Host: 207.105.83.66 Message-ID: <46cc5077$1@newsgroups.borland.com> Date: 22 Aug 2007 08:04:23 -0700 X-Trace: newsgroups.borland.com 1187795063 207.105.83.66 (22 Aug 2007 08:04:23 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail