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

Craig Bumpstead cbumpste at yahoo.com.au
Mon Jan 16 20:36:42 GMT 2006


GV,

I solved the issue. I removed the settings from
application data  in my user profile. Now the project
compiles.
Must have been a system compile setting.

Cheers,
Craig







-----Original Message----- 
From: winpcap-users-bounces at winpcap.org on behalf of
Gianluca Varenni 
Sent: Mon 16/01/2006 12:31 PM 
To: winpcap-users at winpcap.org 
Cc: 
Subject: Re: [Winpcap-users] error C2065:
'PCAP_SRC_IF_STRING' :


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

_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users




		
____________________________________________________ 
Do you Yahoo!? 
Find a local business fast with Yahoo! Local Search 
http://au.local.yahoo.com


More information about the Winpcap-users mailing list