<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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="arunperi@gmail.com" href="mailto:arunperi@gmail.com" target="_blank">Subrahmanyam
(Arun)</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, October 01, 2008 10:40
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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>