[Winpcap-users] error C2065: 'PCAP_SRC_IF_STRING' :

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Jan 16 01:31:12 GMT 2006


Craig,

a DLL should not help at all if we don't understand what is the problem 
(it's a problem with some include files, it should have nothing to do with 
DLLs vs. EXE projects).

Another suggestion: please check that in the preprocessor definitions, WIN32 
is defined.
If this doesn't help, can you please send a zip containing a small VC2003 
project showing the problem?

Have a nice day
GV

----- Original Message ----- 
From: "Craig Bumpstead" <cbumpste at yahoo.com.au>
To: <winpcap-users at winpcap.org>
Sent: Saturday, January 14, 2006 3:09 PM
Subject: Re: [Winpcap-users] error C2065: 'PCAP_SRC_IF_STRING' :


GV,

I tried all that you suggesed, but, no luck. I still
get the error. Maybe I should just create a DLL?

Cheers,
Craig




>Craig,

>you probably forgot to add WPCAP and HAVE_REMOTE in
the >preprocessor
>definitions for your project.

>I think you are using managed C++ (the call to
MessageBox::Show >is to a
>managed type), in order not to have linking or
runtime problems, >I suggest
>you to read this message from the winpcap-users
mailing list

>http://www.mail-archive.com/winpcap-users@winpcap.polito.it/msg02138.html

>Have a nice day
>GV



____________________________________________________
Do you Yahoo!?
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and 
full Actor Database.
http://au.movies.yahoo.com
_______________________________________________
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