[Winpcap-users] Access Volidatino while using pcap_findalldevs_ex
Gianluca Varenni
gianluca.varenni at cacetech.com
Tue Sep 9 21:44:15 GMT 2008
Does the sample WpdPack\Examples-remote\iflist show the same access
violation error?
Have a nice day
GV
----- Original Message -----
From: "???" <instantsee at gmail.com>
To: <winpcap-users at winpcap.org>
Sent: Tuesday, September 09, 2008 2:37 AM
Subject: [Winpcap-users] Access Volidatino while using pcap_findalldevs_ex
> Hi,
> I have got a Access Volidation exception while using the
> pcap_findalldevs_ex.
> 1>I created a vc6 project with the code sample in the winpcap doc.
> Lesson1 "Obtain device list".the complie is ok.but while executing, I
> got a access volidation exception.
> 2>I digged in to the wpcap.dll and it seems that the
> pcap_findalldevs_ex get six parameters with the last one storing some
> message.But inside the routine pcap_findalldevs_ex,there is a call to
> snprint treating the last parameter as the buffer to store some message.so
> I got Access Volidation exception.
> 3>I have not enough experience&knowledge to dig into the source
> code,after I realizing that the source code in the pcap_new.c is totally
> different from wpcap.dll.
> 4>My enviroment:
> Windows Server 2003 sp2;Visual C++6.0 sp6;winpcap4.0.2;
> and the vc project package in the attachment.
> 5>sorry for my limited English.^_^
> ---
> thx®s
> from Yan.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list