🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #29

Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007

#29
From: Tom Byars
Date: Wed, 02 Jan 2008 19:20
28 lines
2087 bytes
> (int((__stdcall  * LPFN_WSARECVMSG)+((__stdcall  * LPFN_WSARECVMSG)<0 ? -1
>> : 1)*0.5))) (
>
> What is all that?

typedef
(int((__stdcall  * LPFN_WSARECVMSG)+((__stdcall  * LPFN_WSARECVMSG)<0 ? -1 :
1)*0.5))) (
SOCKET s,
LPWSAMSG lpMsg,
LPDWORD lpdwNumberOfBytesRecvd,
LPWSAOVERLAPPED lpOverlapped,
LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
);

is what appears in the preprocessed file in place of

typedef
INT
(PASCAL FAR * LPFN_WSARECVMSG) (
    IN SOCKET s,
    IN OUT LPWSAMSG lpMsg,
    __out_opt LPDWORD lpdwNumberOfBytesRecvd,
    IN LPWSAOVERLAPPED lpOverlapped,
    IN LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
    );

 
Technical Details
Message-ID: <477be405$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4773c52b@newsgroups.borland.com> <4773ebc6@newsgroups.borland.com> <4774d59f$1@newsgroups.borland.com> <47753961@newsgroups.borland.com> <477546fd@newsgroups.borland.com> <477551c2$1@newsgroups.borland.com> <477577ea$1@newsgroups.borland.com> <477626c9@newsgroups.borland.com> <47763514@newsgroups.borland.com> <477bcfaa$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,deb4629ff779f0b0
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tom Byars" <tam118118@hotmail.com>
Newsgroups: borland.public.cppbuilder.upgrade
References: <4773c52b@newsgroups.borland.com> <4773ebc6@newsgroups.borland.com> <4774d59f$1@newsgroups.borland.com> <47753961@newsgroups.borland.com> <477546fd@newsgroups.borland.com> <477551c2$1@newsgroups.borland.com> <477577ea$1@newsgroups.borland.com> <477626c9@newsgroups.borland.com> <47763514@newsgroups.borland.com> <477bcfaa$1@newsgroups.borland.com>
Subject: Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007
Date: Wed, 2 Jan 2008 19:20:35 -0000
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: 90.204.3.125
Message-ID: <477be405$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1199301637 90.204.3.125 (2 Jan 2008 11:20:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
X-Original-Lines: 1