🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#34
From: Tom Byars
Date: Tue, 08 Jan 2008 17:53
48 lines
2906 bytes
dhoke, as soon as I saw your #define it all came flooding back. I had that 
identical line in my Constants.h file. Many thanks to you (I was all but 
ready to go back to BCB6) and apologies to everyone for wasting their time.

"dhoke" <dhoke.nojunk@east-shore.com> wrote in message 
news:47837a42$1@newsgroups.borland.com...
> Do you have a macro "INT" defined somewhere in any of your stuff, possibly 
> trying to round/truncate a value?
>
> (Maybe with a definition something like:
> "#define INT(x) (int((x)+((x)<0 ? -1 : 1)*0.5)"
> )
>
> "Tom Byars" <tam118118@hotmail.com> wrote in message 
> news:477be405$1@newsgroups.borland.com...
>>> (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: <4783b88a$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> <477be405$1@newsgroups.borland.com> <47837a42$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> <477be405$1@newsgroups.borland.com> <47837a42$1@newsgroups.borland.com>
Subject: Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007
Date: Tue, 8 Jan 2008 17:53:21 -0000
Lines: 47
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.195.48.220
Message-ID: <4783b88a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1199814794 90.195.48.220 (8 Jan 2008 09:53:14 -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