[Winpcap-users] pcap_findalldevs returns empty list on Vista
carlomedas at gmail.com
Tue Sep 30 18:41:45 GMT 2008
Packet capturing feature requires administration privileges. If Wireshark
installs the service, it's a worksaround for that need.
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".
On Tue, Sep 30, 2008 at 8:29 PM, John Bruder <johnb at sisconet.com> wrote:
> 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.
> 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.
> 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".
> John Bruder
> SISCO, Inc.
> 6605 19 1/2 Mile Road
> Sterling Heights, MI 48314
> Phone: 586-254-0020, Ext. 121
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Winpcap-users