• 在使用管是一个相当容易的工作,在windows nt平台,开始与Windows9x版本,这可能会变得过于复杂,尤其是因为管道是不再支持。 一般而言,管道已被用来促进进程间的通信在窗台,在那里输入的标准可以通过发送更多的命令。

    CNamedPipe的设计是一个MFC类封命名管道。 这类封装命名管道过程间的通信机制作为提供Win32. 类提供了薄薄的面的SDK API意义,所有丰富的SDK提供可通过类。 这类还提供了自动清理和是UNICODE的使用建立配置的提供。

    的优点之一是使用一个名为管源自这一事实,它提供了一个平稳的方式发送的单行请求的一个OpenEdge背景届会议。 这意味着,多用户可以发送请求使用同样的管道上。 每个请求得到达其目的地是,随后从中删除的管道,因此使用的信息处理程序过程的循环下去。 此外,这是相当简单的发送一行要求具有比写完整的回应一个普通的文件。

  • का उपयोग करते समय पाइप एक काफी आसान काम में WindowsNT प्लेटफार्मों के साथ शुरू, विंडोज 9x संस्करणों में इस प्राप्त कर सकते हैं पीढ़ी जटिल है, खासकर के बाद से पाइप अब समर्थित नहीं हैं. आम तौर पर बोल, के पाइप का इस्तेमाल किया गया है की सुविधा के लिए अंतर-प्रक्रिया संचार में Windows कंसोल, जहां मानक इनपुट के माध्यम से भेजा जा सकता है एक और अधिक कमान ।

    के CNamedPipe डिजाइन किया गया था होना करने के लिए एक MFC वर्ग encapsulate करने के लिए नामित पाइप. वर्ग encapsulates नामित पाइप इंटर प्रक्रिया संचार तंत्र के रूप में प्रदान की जाती हैं. Win32. वर्ग प्रदान करता है एक पतली लिबास में एसडीके की एपीआई का अर्थ है कि सभी समृद्धि एसडीके प्रदान करता है के माध्यम से उपलब्ध है । वर्ग भी प्रदान करता है ऑटो सफाई और यूनिकोड सक्षम निर्माण के साथ विन्यास प्रदान की है ।

    एक का उपयोग कर के लाभ के एक नामित पाइप इस तथ्य से उपजा है कि यह प्रदान करता है एक चिकनी रास्ते भेजने के लिए एक लाइन का अनुरोध करने के लिए एक OpenEdge पृष्ठभूमि सत्र. क्या इसका मतलब यह है कि कई उपयोगकर्ताओं को अनुरोध भेज सकते हैं का उपयोग कर एक ही पाइप. प्रत्येक अनुरोध है कि अपने गंतव्य तक पहुँच गया है, बाद में हटा दिया, पाइप से, इस प्रकार सक्षम करने से आप का उपयोग करने के लिए संदेश हैंडलर प्रक्रिया पाश अनिश्चित काल के लिए. इसके अलावा, यह काफी सरल भेजने के लिए एक लाइन के अनुरोध से लिखने के लिए होने के एक पूरा प्रतिक्रिया के लिए एक साधारण फ़ाइल.

  • While using pipes is a fairly easy job in the WindowsNT platforms, starting with Windows 9x editions this can get overly complicated, especially since the pipes are no longer supported. Generally speaking,  pipes have been used to facilitate inter-process communications in the Windows console, where the standard input can be sent via a MORE command.

    The CNamedPipe was designed to be an MFC class to encapsulate Named Pipes. The class encapsulates the Named Pipe Inter Process Communication mechanism as provided in Win32. The class provides a thin veneer of the SDK API meaning that all the richness the SDK provides is available through the class. The class also provides auto cleanup and is UNICODE enabled with build configurations provided.

    One of the advantages of using a named pipe stems from the fact that it provides a smooth way to send single line requests to an OpenEdge background session. What this means is that multiple users can send requests using the same pipe. Each request that reached its destination is, afterwards, removed from the pipe, thus enabling you to use the message handler procedure loop indefinitely. In addition, it is considerably simpler to send a one-line request than having to write a complete response to an ordinary file.