Article View: borland.public.cppbuilder.nativeapi
Article #1506Re: Problem with the "Packet32.h" file.........
From: Alan Bellingham
Date: Mon, 23 Jul 2007 11:40
Date: Mon, 23 Jul 2007 11:40
18 lines
1560 bytes
1560 bytes
"Dan" <Dan@Nomail.com> wrote:
>For example I get the first Error ("winsock2.h(95): E2257 , expected") on the following line in the Winsock2.h line -
>
>typedef UINT_PTR SOCKET;
>
>What can be the problem here?
Most likely, it hasn't got a clue what a UINT_PTR is - so it can't
define what a SOCKET is based on that.
After that, anything attempting to use the SOCKET type will obviously be
unable to compile either.
Alan Bellingham
--
Team Browns
ACCU Conference 2008: 2-5 April 2008 - Oxford (probably), UK
Technical Details
Message-ID:
<tr49a3l1va1lnnqs627o0et1r18is6hpp2@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46a48849$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4addbdf6a8043ce X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Alan Bellingham <alan@lspace.org> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Problem with the "Packet32.h" file......... Date: Mon, 23 Jul 2007 12:40:54 +0100 Organization: Private Reply-To: alan@lspace.org Message-ID: <tr49a3l1va1lnnqs627o0et1r18is6hpp2@4ax.com> References: <46a48849$1@newsgroups.borland.com> X-Newsreader: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 193.129.251.253 X-Trace: newsgroups.borland.com 1185190853 193.129.251.253 (23 Jul 2007 04:40:53 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail