[Winpcap-users] dumb question ;(

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Mar 30 19:37:51 GMT 2006


Can you please post the exact error given by the compiler?

Have a nice day
GV
----- Original Message ----- 
From: "Alex Radetsky" <rad at rad.kiev.ua>
To: <winpcap-users at winpcap.org>
Sent: Thursday, March 30, 2006 8:25 AM
Subject: [Winpcap-users] dumb question ;(


> Hello, everybody!
>
> Please excuse me for my very dumb question, Ok?
>
> First, I install https://www.winpcap.org/install/bin/WinPcap_3_1.exe
> on my Windows XP machine.
> Second, I download WpdPack 3.1 from winpcap.org, following the 
> instructions
> I was unpacking it and place to desired folder.
>
> I use Visual C++ 6.0 for applications creating. In some my class
> method I declared
>
> pcap_if_t *alldevs;
>
> and got "undeclared identifier" error from compiler.
>
> Following the instructions from WpdPack documentaion I insert
> #include <pcap.h> to my .cpp file, adding wpcap.lib as additional
> libraries, adding "include" and "lib" directories to additional
> directories for MSVC (Tools/Options/Directories).
>
> But still got the "undeclared identifier" error.
> error C2065: 'pcap_if_t' : undeclared identifier
>
> Where I was wrong? It seems like "pcap.h" is not including,
> but why compiler does not say it to me?
>
> Can anyone tell me where I was wrong? Some FAQ?
>
> I understand that is very dump question and I can't find answer via
> google :)
>
> PS. While reading mail archive I was added HAVE_REMOTE and WPCAP to
> the preprocessor definitions, but still no luck?
>
> Have some ideas? Thank you very much.
>
>
> -- 
> /me from ~
> rad at rad.kiev.ua
>
> _______________________________________________
> 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