From: "John Bauman" Newsgroups: comp.os.msdos.djgpp References: <381F7D9B DOT 541B AT erols DOT com> Subject: Re: RSXNTDJ WINSOCK C++ ??? Lines: 27 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Wed, 03 Nov 1999 03:19:09 GMT NNTP-Posting-Host: 204.186.57.63 X-Complaints-To: abuse AT ptd DOT net X-Trace: nnrp1.ptd.net 941599149 204.186.57.63 (Tue, 02 Nov 1999 22:19:09 EST) NNTP-Posting-Date: Tue, 02 Nov 1999 22:19:09 EST Organization: PenTeleData http://www.ptd.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Uhh, idea, put an extern "C" { ... } (I think that's what it is) block around all the declares in the header. John S. Fine wrote in message <381F7D9B DOT 541B AT erols DOT com>... >I read through many old messages at deja.com and tried what >they said, but I can't get anything to link that uses WINSOCK >with RSXNTDJ. > > All the WINSOCK symbols come up undefined. I used OBJDUMP >to find out why and discovered that in the libwsock32.a that >I found and the one I built using makelib, all the names >are unmangled "C" names. In all my .o files, all those >names are mangled C++ names. > > I tried a few different WINSOCK.H files, but none of them >give me unmangled names. > > From previous posts on the subject, it looks like a few >people have gotten all this to work. Could one of you >please give me a hint. >-- >http://www.erols.com/johnfine/ >http://www.geocities.com/SiliconValley/Peaks/8600/