<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Georgia">Thanks Gianluca, I'll try that.&nbsp; Is there a page
somewhere that lists supported compilers/operating systems?<br>
<br>
Francis<br>
</font><br>
Gianluca Varenni wrote:
<blockquote cite="mid:143BF880828B4257A68D8A8AA1B39FD8@NELSON3"
 type="cite">
  <title></title>
  <meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
  <meta name="GENERATOR" content="MSHTML 8.00.7600.16588">
  <div><font face="Calibri">Francis,</font></div>
  <div>&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>&nbsp;</div>
  <div><font face="Calibri">Have a nice day</font></div>
  <div><font face="Calibri">GV</font></div>
  <div
 style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
  <div><br>
  </div>
  <div
 style="background: rgb(245, 245, 245) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
  <div style=""><b>From:</b> <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 title="mailto:BackForty@Blandranch.net
CTRL + Click to follow link"
 href="mailto:BackForty@Blandranch.net">BackForty@Blandranch.net</a> ; <a
 moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 title="https://www.winpcap.org/mailman/listinfo/winpcap-users
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 moz-do-not-send="true" class="moz-txt-link-abbreviated"
 title="mailto:Winpcap-users@winpcap.org
CTRL + Click to follow link"
 href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 title="https://www.winpcap.org/mailman/listinfo/winpcap-users
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>
  </p>
  <hr>_______________________________________________<br>
Winpcap-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
  </pre>
</blockquote>
</body>
</html>