<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Did you add the wpdpack include and lib directory in your
Visual studio project as explained here:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><A
href="http://www.winpcap.org/docs/docs_411/html/group__wpcapsamps.html">http://www.winpcap.org/docs/docs_411/html/group__wpcapsamps.html</A></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>?</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=kathawate.sameer@gmail.com
href="mailto:kathawate.sameer@gmail.com">sameer kathawate</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> Friday, December 04, 2009 11:41
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] error in sample
program "Obtaining the device list"</DIV>
<DIV><BR></DIV>Hi Team,<BR><BR>Recently i came across <A
href="http://winpcap.org">winpcap.org</A> and I am learning winpcap
programming through the tutorials you provided.<BR>I came across this linker
problem. Can you please help
me?<BR><BR><I><BR>Compiling...<BR>open_adapter.c<BR>C:\Documents and
Settings\sameer\Desktop\open\open_adapter.c(47) : warning C4013:
'pcap_findalldevs_ex' undefined; assuming extern returning int<BR>C:\Documents
and Settings\sameer\Desktop\open\open_adapter.c(59) : warning C4013:
'pcap_freealldevs' undefined; assuming extern returning int<BR>C:\Documents
and Settings\sameer\Desktop\open\open_adapter.c(126) : warning C4013:
'_snprintf_s' undefined; assuming extern returning int<BR>C:\Documents and
Settings\sameer\Desktop\open\open_adapter.c(141) : warning C4013:
'getnameinfo' undefined; assuming extern returning
int<BR>Linking...<BR>open_adapter.obj : error LNK2001: unresolved external
symbol _pcap_freealldevs<BR>open_adapter.obj : error LNK2001: unresolved
external symbol _pcap_findalldevs_ex<BR>open_adapter.obj : error LNK2001:
unresolved external symbol __snprintf_s<BR>open_adapter.obj : error LNK2001:
unresolved external symbol _getnameinfo<BR>Debug/open_adapter.exe : fatal
error LNK1120: 4 unresolved externals<BR>Error executing link.exe.</I><BR
clear=all><BR>-- <BR>Regards<BR><BR>Sameer Kathawate<BR>
<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>