<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Cristina,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>you probably forgot to define "WPCAP" and "HAVE_REMOTE" before
including pcap.h or within the project properties.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The easiest way is perhaps this</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>#define WPCAP</FONT></DIV>
<DIV><FONT size=2>#define HAVE_REMOTE</FONT></DIV>
<DIV><FONT size=2>#include <pcap.h></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=fullmoon_2011@yahoo.com
href="mailto:fullmoon_2011@yahoo.com">Cristina Ruxandra Ionescu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 13, 2008 1:46
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] Newbie
facing problem in setting filter whilerunning pf.exe</DIV>
<DIV><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><SPAN
style="COLOR: rgb(0,0,0)">Hello everyone,<BR><BR> I have managed to
solve my problem the last time you helped me, but now I have stmbled accross
another one. I have Winpcap installed on my computer the same time as
Wireshark (ex Ethereal). I work in Visual C++ Express 2008 and whn I compile
my small sniffer which uses pcap_open (and pcap_next and pcap_sendpacket, but
they are fine for now ), I am left with one warning </SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(0,0,191)"><BR><BR>>>...warning
C4013: 'pcap_open' undefined; assuming extern returning int<BR><BR><SPAN
style="COLOR: rgb(0,0,0)"></SPAN></SPAN><SPAN
style="COLOR: rgb(0,0,191)"><SPAN style="COLOR: rgb(0,0,0)">I have had other
silly warnings like scanf for a while telling me to define #define
_CRT_SECURE_NO_DEPRECATE, because of C compiler changes I believe, but this
warning , I do not know how to get rid of...can you help me?<BR><BR>thanks in
advance,</SPAN></SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(0,0,191)"><SPAN
style="COLOR: rgb(0,0,0)"></SPAN><BR></SPAN>
<DIV> </DIV><SPAN
style="FONT-FAMILY: times new roman,new york,times,serif"><SPAN
style="FONT-WEIGHT: bold">Cri</SPAN></SPAN></DIV><BR>
<HR SIZE=1>
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. <A
href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ">Try
it now.</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>