<!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.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Which DLLs did you compile?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>There is just one version of wpcap.dll, but there are multiple
versions of packet.dll, depending on the OS you are running on. Apart from that,
there is no difference (apart from the fact that the DLLs we provide are
authenticode signed). during our build process, we compile the official DLLs and
at the same time we create the ZIP with the official sources.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Which OS are you running on?</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><FONT size=2></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=arunperi@gmail.com href="mailto:arunperi@gmail.com">Subrahmanyam
(Arun)</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, October 01, 2008 2:13
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] Using
Winpcap</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Hi,<BR><BR>I'm sorry for the discrepancy in my earlier
mail.<BR><BR>Firstly, I used the developers pack and could detect my network
devices.<BR><BR>Then I downloaded the source code of winpcap from <A
href="http://www.winpcap.org/devel.htm">http://www.winpcap.org/devel.htm</A>,
i.e <A href="http://www.winpcap.org/install/bin/WpcapSrc_4_0_2.zip">Download
WinPcap 4.0.2 Source Code</A> which is the latest version. I compiled the code
and from these DLL's I'm unable to detect any of the network
devices.<BR><BR>It fails in "PacketGetAdapterNames" which actually looks for a
registry entry. But I'm surpised how the binaries are working, is there any
difference between the installer and the binaries I built.<BR><BR>I have
WinPCap installed also.<BR><BR>Thanks,<BR>Subbu.<BR><BR><BR>
<DIV class=gmail_quote>On Wed, Oct 1, 2008 at 2:54 PM, Gianluca Varenni <SPAN
dir=ltr><<A
href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>The developer's pack doesn't contain the sources of
WinPcap. It's a developer's pack to create WinPcap based applications.
</FONT></DIV>
<DIV><FONT size=2>In order to use WinPcap, you always need to install it on
the target machine with the installer, you cannot just use the developer's
pack and copy the DLLs.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Let me know if this answers your question.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV<BR></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=arunperi@gmail.com href="mailto:arunperi@gmail.com"
target=_blank>Subrahmanyam (Arun)</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=winpcap-users@winpcap.org href="mailto:winpcap-users@winpcap.org"
target=_blank>winpcap-users@winpcap.org</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Wednesday, October 01, 2008 10:40 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[Winpcap-users] Using Winpcap</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Hi All,<BR><BR>I've downloaded winpcap source code( <A
href="http://install/bin/WpdPack_4_0_2.zip" target=_blank>Download WinPcap
4.0.2 Developer's Pack )</A><BR><BR>In a sample application when I use
winpcap dll's (Packet.dll, WanPacket.dll, wpcap.dll) I am able to detect
the network adapters.<BR><BR>But with the downloaded and the latest source
code I am unable to detect the n/w adapters with the message<BR>"Error in
pcap_findalldevs: PacketGetAdapterNames: The operation completed
successfully. (0)"<BR><BR>Can anyone please suggest where I'm going
wrong.<BR><BR>Thanks,<BR>Subbu.<BR></DIV></DIV></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing list<BR><A href="mailto:Winpcap-users@winpcap.org"
target=_blank>Winpcap-users@winpcap.org</A><BR><A
href="https://www.winpcap.org/mailman/listinfo/winpcap-users"
target=_blank>https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>Winpcap-users
mailing list<BR><A
href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</A><BR><A
href="https://www.winpcap.org/mailman/listinfo/winpcap-users"
target=_blank>https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
<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>