<div dir="ltr">Thank you very much GV for the help.<br><br><div class="gmail_quote">On Fri, Oct 3, 2008 at 3:33 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">That is for windows 9x. You need to compile the version under
packetntx for windows NT4/2000/XP/2003/Vista/2008.</font></div>
<div><font size="2"></font> </div><font color="#888888">
<div><font size="2">GV</font></div>
</font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div class="Ih2E3d">
<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><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;">
<b>Sent:</b> Friday, October 03, 2008 9:09
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> Re: [Winpcap-users] Using
Winpcap</div>
<div><br></div>
<div dir="ltr">Thank you very much for the response.<br><br>I am using
Packet32.c file(which is part of Packet9x DLL). In that file the execution
flow comes to function "PacketGetAdapterNames" where it checks for certain
registry
entries,<br><br>Status=RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SYSTEM\\CurrentControlSet\\Services\\class\\net",0,KEY_READ,&Key);<br><br>here
it fails, I've no such entries in my registry either.<br><br>However I found
another version of the same file which looks for:<br><br>Status =
RegOpenKeyEx(HKEY_LOCAL_MACHINE,<br>
TEXT("SYSTEM\\ControlSet001\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}"),<br>
0, KEY_READ, &AdapKey);<br><br>but as the execution flow comes down to
other functions RegEnumKey fails and it too returns FALSE,<br><br>I guess I'm
missing something crucial,<br>Thanks,<br>Subbu.<br><br><br>
<div class="gmail_quote">On Thu, Oct 2, 2008 at 12:19 PM, Gianluca Varenni <span dir="ltr"><<a href="mailto:gianluca.varenni@cacetech.com" target="_blank">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">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>
<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></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 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>
<div>
<div></div>
<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 2:13 PM</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>
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" target="_blank">http://www.winpcap.org/devel.htm</a>, i.e <a href="http://www.winpcap.org/install/bin/WpcapSrc_4_0_2.zip" target="_blank">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" target="_blank">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>
<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" 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>
<br></blockquote></div><br></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>
</div></div></blockquote></div><br>_______________________________________________<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>
<br></blockquote></div><br></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>
</div></div></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>