<!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.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Uhm, the error tells me you are writing a managed c++
application (BTW, a managed C++ MFC application, quite
interesting).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I suggest you to read this FAQ</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><A
href="http://www.winpcap.org/misc/faq.htm#Q-29">http://www.winpcap.org/misc/faq.htm#Q-29</A></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>
<DIV> </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=amruta.tilaye@yahoo.com href="mailto:amruta.tilaye@yahoo.com">amruta
tilaye</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> Wednesday, March 15, 2006 11:42
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Winpcap-users] Problems
with Tutorial "Filtering the traffic"</DIV>
<DIV><BR></DIV>
<DIV>hey what are you using to run your programs?</DIV>
<DIV> </DIV>
<DIV>are you using Visual Studio.NET if yes? which application?</DIV>
<DIV> </DIV>
<DIV>I have this problem running the turorial:"Interpreting the packets"</DIV>
<DIV> </DIV>
<DIV>I'm using MFC apllication and getting following error:</DIV>
<DIV>"An unhandled exception of type 'System.TypeLoadException' occurred in
Unknown Module.</DIV>
<DIV>Additional information: Could not load type pcap from assembly try,
Version=1.0.2264.37898, Culture=neutral, PublicKeyToken=null."</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I think it can be because of some linking problem. Can anyone guide me
plsssss....I'm totally new to pcap...</DIV>
<DIV> </DIV>
<DIV>thanks,</DIV>
<DIV>Amruta<BR><B><I>Benjamin Amaudric
<benjamin.amaudric@hotmail.fr></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>
<DIV>I ca! n make a capture with filters now!!</DIV>
<DIV>Thank you for your help!</DIV>
<DIV>Like you said me, I changed <EM><STRONG>adhandle </STRONG></EM>by
<STRONG><EM>fp </EM></STRONG>and I ignore this part of code in Set the
filter</DIV>
<DIV><STRONG><EM>// set the filter</EM></STRONG></DIV>
<DIV><STRONG><EM> if (pcap_setfilter(fp, &fcode) <
0)<BR> {<BR> fprintf(stderr,"\nError
setting the filter.\n");<BR> }</EM></STRONG></DIV>
<DIV><STRONG><EM> <FONT color=#ff3300> /* Free
the device list */<BR> //
pcap_freealldevs(alldevs);<BR> // return
-1;</FONT></EM></STRONG></DIV>
<DIV>Thank you and see you later</DIV></DIV><BR clear=all>
<HR>
MSN Messenger <A href="http://g.msn.com/8HMBFRFR/2755??PS=47575"
target=_top>: dialoguez gratuitement de PC à PC !</A>
_______________________________________________<BR>Winpcap-users mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE><BR>
<P>
<HR SIZE=1>
Jiyo cricket on <A
href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo!
India cricket</A><BR><A
href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo!
Messenger Mobile</A> Stay in touch with your buddies all the time.
<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>