<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff text=#000000 
CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Francis,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>although the project files for Visual Studio 6 are still 
provided for some of the samples, VS6 is no longer officially supported. I 
suggest you to use Visual Studio 2005.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Have a nice day</FONT></DIV>
<DIV><FONT face=Calibri>GV</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=mail@ainley.org 
href="mailto:mail@ainley.org">mail</A> </DIV>
<DIV><B>Sent:</B> Thursday, July 29, 2010 11:40 AM</DIV>
<DIV><B>To:</B> <A 
title="mailto:BackForty@Blandranch.net&#10;CTRL + Click to follow link" 
href="mailto:BackForty@Blandranch.net">BackForty@Blandranch.net</A> ; <A 
title=winpcap-users@winpcap.org 
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Winpcap-users] Sample compile failure using MS VC 
6</DIV></DIV></DIV>
<DIV><BR></DIV><FONT face=Georgia>Thanks Chuck.<BR><BR>I don't know if something 
got mangled in the email you saw, but the actual lines were:<BR><BR>/* MSVC 
compiler */<BR>#ifndef _UINTPTR_T_DEFINED<BR>#ifdef&nbsp; _WIN64<BR>typedef 
unsigned __int64&nbsp;&nbsp;&nbsp; uintptr_t;<BR>#else<BR>typedef _W64 unsigned 
int&nbsp;&nbsp; uintptr_t;<BR>#endif<BR>#define 
_UINTPTR_T_DEFINED<BR>#endif<BR><BR>There were no comment delimiters after the 
#else statement.<BR><BR>pcap-stdinc.h is also the one of the standard 
distributed header files which I can't imagine should contain 
errors,<BR><BR>Francis</FONT> <BR><BR>Charles Bland wrote: 
<BLOCKQUOTE 
cite=mid:979c05e0d5bd3569a39fff6ce3ab0b5d.squirrel@webmail.blandranch.net 
type="cite"><PRE wrap="">Looks to me like the lines

#else/
*typedef _W64 unsigned int   uintptr_t;*/

should be

#else /*typedef _W64 unsigned int   uintptr_t;*/

Chuck

  </PRE>
  <BLOCKQUOTE type="cite"><PRE wrap="">I am completely new to Winpcap but would love to try out some of its
capabilities.

I have tried compiling the basic_dump.c sample provided but it fails
with multiple errors.  The first error is in pcap-stdinc.h, line 79 (in
bold italic below)

/* MSVC compiler */
#ifndef _UINTPTR_T_DEFINED
#ifdef  _WIN64
typedef unsigned __int64    uintptr_t;
#else/
*typedef _W64 unsigned int   uintptr_t;*/
#endif
#define _UINTPTR_T_DEFINED
#endif

the error reported was "C2054: expected '(' to follow '_W64'.

I am using Microsoft Visual C++ Version 6 with service pack 5 installed
under XP SP 3.

I would be grateful if anyone could shed some light on this.


_______________________________________________
Winpcap-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</A>
<A class=moz-txt-link-freetext title="https://www.winpcap.org/mailman/listinfo/winpcap-users&#10;CTRL + Click to follow link" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A>

    </PRE></BLOCKQUOTE><PRE wrap=""><!---->

_______________________________________________
Winpcap-users mailing list
<A class=moz-txt-link-abbreviated title="mailto:Winpcap-users@winpcap.org&#10;CTRL + Click to follow link" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</A>
<A class=moz-txt-link-freetext title="https://www.winpcap.org/mailman/listinfo/winpcap-users&#10;CTRL + Click to follow link" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A>
  </PRE></BLOCKQUOTE>
<P>
<HR>

<P></P>_______________________________________________<BR>Winpcap-users mailing 
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BODY></HTML>