<div dir="ltr">Dear John,<div><br></div><div>Packet capturing feature requires administration privileges. If Wireshark installs the service, it's a worksaround for that need.</div><div><br></div><div>In other case if you want to run your application, you must start it with administration privileges; e.g. by right clicking on it and then selecting "Run as administrator".</div>
<div><br></div><div>Br,</div><div><br></div><div>\Carlo Medas<br><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 8:29 PM, John Bruder <span dir="ltr"><<a href="mailto:johnb@sisconet.com">johnb@sisconet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">My application runs fine with Winpcap 4.0.2 on Windows 2000 and XP, but fails on Vista because "pcap_findalldevs" returns an empty list.<br>
<br>
However, if I install Wireshark on Vista, and check the box to have it "start the Winpcap NPF service", the "pcap_findalldevs" function in my application works. If I reinstall Wireshark and do NOT check the box to "start the Winpcap NPF service", pcap_findalldevs fails again.<br>
<br>
I do not want to require Wireshark to use my application, but the Winpcap documentation does not explain how to "start the Winpcap NPF service".<br>
<br>
-- <br>
John Bruder<br>
SISCO, Inc.<br>
6605 19 1/2 Mile Road<br>
Sterling Heights, MI 48314<br>
Phone: 586-254-0020, Ext. 121<br>
<br>
<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>
</blockquote></div><br></div></div>