[Winpcap-users] Using Winpcap
Subrahmanyam (Arun)
arunperi at gmail.com
Wed Oct 1 21:13:13 GMT 2008
Hi,
I'm sorry for the discrepancy in my earlier mail.
Firstly, I used the developers pack and could detect my network devices.
Then I downloaded the source code of winpcap from
http://www.winpcap.org/devel.htm, i.e Download WinPcap 4.0.2 Source
Code<http://www.winpcap.org/install/bin/WpcapSrc_4_0_2.zip>which is
the latest version. I compiled the code and from these DLL's I'm
unable to detect any of the network devices.
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.
I have WinPCap installed also.
Thanks,
Subbu.
On Wed, Oct 1, 2008 at 2:54 PM, Gianluca Varenni <
gianluca.varenni at cacetech.com> wrote:
> The developer's pack doesn't contain the sources of WinPcap. It's a
> developer's pack to create WinPcap based applications.
> 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.
>
> Let me know if this answers your question.
>
> Have a nice day
> GV
>
> ----- Original Message -----
> *From:* Subrahmanyam (Arun) <arunperi at gmail.com>
> *To:* winpcap-users at winpcap.org
> *Sent:* Wednesday, October 01, 2008 10:40 AM
> *Subject:* [Winpcap-users] Using Winpcap
>
> Hi All,
>
> I've downloaded winpcap source code( Download WinPcap 4.0.2 Developer's
> Pack ) <http://install/bin/WpdPack_4_0_2.zip>
>
> In a sample application when I use winpcap dll's (Packet.dll,
> WanPacket.dll, wpcap.dll) I am able to detect the network adapters.
>
> But with the downloaded and the latest source code I am unable to detect
> the n/w adapters with the message
> "Error in pcap_findalldevs: PacketGetAdapterNames: The operation completed
> successfully. (0)"
>
> Can anyone please suggest where I'm going wrong.
>
> Thanks,
> Subbu.
>
> ------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20081001/029aa392/attachment.htm
More information about the Winpcap-users
mailing list