[Winpcap-users] query regarding pcap.h

Sunil Kumar badboy16a at gmail.com
Mon Jun 27 01:09:14 PDT 2011


Those instructions are for building WinPcap Binaries from source. Not for
"How To Use".
Place already built binaries[wpcap.dll, Packet.dll] in
%SystemRoot%\System32, Npf.sys in %SystemRoot%\System32\drivers   [*On
Win32*].

Add path\to\pcap.h in "additional include directories" and use
#include<pcap.h>
or place winpcap headers inside ur source code folder and use
#include "pcap.h"

{Visual Studio 2008+}
Just to verify ur config right click on "#include <pcap.h>" and choose "open
document".
Pcap.h should be opened.


On Mon, Jun 27, 2011 at 1:11 AM, geek techie <geektechgo at gmail.com> wrote:

> Hello,
>
>  I am not able to use "pcap.h" in my programs.
> I am getting errors while compiling my programs, with "#include <pcap.h> "
> line.
>
> does following instructions given in
> http://www.winpcap.org/docs/docs_412/html/group__compilation.html
> allows to use pcap.h in my programs?
>
> what should i do?
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>


-- 
Your smile is the most precious thing that doesn't cost you. Keep smiling.
:)
===============
     SunilKumar
------------------------------
http://in.linkedin.com/in/sunilkr86/
===============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110627/39042cf2/attachment.html>


More information about the Winpcap-users mailing list