Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!ogicse!milton!serval!yoda.eecs.wsu.edu!wbonner From: wbonner@yoda.eecs.wsu.edu (Wim Bonner) Newsgroups: comp.os.os2.programmer Subject: Re: Named pipes in OS/2 Message-ID: <1991May28.044105.17918@serval.net.wsu.edu> Date: 28 May 91 04:41:05 GMT References: <2765@umriscc.isc.umr.edu> Sender: news@serval.net.wsu.edu (USENET News System) Organization: Washington State University Lines: 22 In article <2765@umriscc.isc.umr.edu> jyothi@ee.umr.edu (Jyothi Nagaraj) writes: > > I am working on a program written in MS C 6.0 for OS/2 environment >which uses named pipes. It is a demo profram called "npserver.c". >I am trying to add on some stuff to the program and recompile it. >But, I am not able to recompile it since it says it cannot find the >"include" file "". Now the person who has written the >program(unknown) has used the include statements in the foll manner: I would assume that the program was originally developed using a C Cmpiler that was not well suited to multi-threaded stuff, and had seperate include files for the multi-threaded system calls. With C 6.0, you should be able to just use the standard "" instead of "". You would want to use the /MT option, and I know that pwb defines _MT when I compile my programs multi-threaded. (-MT -D_MT) Wim -- | wbonner@yoda.eecs.wsu.edu |P.O.Box 2062cs |The Loft BBS |27313853@wsuvm1.csc.wsu.edu|Pullman WA 99165|Currently down for the summer. | 72561.3135@CompuServe.com |(509)334-4626 |USR HST Dual Standard HST/V.32