🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3160

Re: Named pipes in OS/2

#3160
From: Wim Bonner
Date: Tue, 28 May 1991 04:41
22 lines
1634 bytes
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 "<mt\string.h>".  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 "<string.h>" instead
of "<mt/string.h>".  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
Technical Details
Message-ID: <1991May28.044105.17918@serval.net.wsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!ogicse!milton!serval!yoda.eecs.wsu.edu!wbonner
References: <2765@umriscc.isc.umr.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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