Hi,<br><br>I am interested in adding support for my device, in Winpcap and <br>therefore I need to compile wpcap.dll from source after having add <br>my own code. <br><br>But before that I just compiled the source code and I came up with
<br>some problems.<br><br>I use MS Visual Studio 2005 8.0 with the .NET framework 2.0 and on <br>the Visual C++ IDE I opened the wpcap.dsw and tried to build the <br>project as is said on the web. <br><br>I came up with 200 odd warnings and five errors like below,
<br><br>Warnings Such as<br><br>Warning 5 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\fad-win32.c 86 <br>Warning 9 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\fad-
win32.c 250 <br>Warning 11 warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\winpcap\winpcap\wpcap\libpcap\gencode.c 104 <br>Warning 12 warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\winpcap\winpcap\wpcap\libpcap\gencode.c 104
<br>Warning 14 warning C4996: '_vsnprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\gencode.c 120 <br>Warning 23 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\inet.c 196
<br> Warning 47 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\pcap-win32.c 480 <br>Warning 50 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\pcap-
win32.c 591 <br>Warning 67 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\pcap.c 360 <br>Warning 89 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\savefile.c 1130
<br>Warning 124 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\rpcapd\daemon.c 548 <br>Warning 150 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\pcap-
new.c 312 <br>Warning 201 warning C4996: '_snprintf' was declared deprecated d:\winpcap\winpcap\wpcap\libpcap\pcap-remote.c 159 <br><br><br>And Errors<br><br> Error 119 fatal error C1083: Cannot open include file: '
airpcap.h': No such file or directory d:\winpcap\winpcap\common\packet32.h 53 <br>Error 120 fatal error C1083: Cannot open include file: 'airpcap.h': No such file or directory d:\winpcap\winpcap\common\packet32.h 53
<br>Error 121 fatal error C1083: Cannot open include file: 'airpcap.h': No such file or directory d:\winpcap\winpcap\common\packet32.h 53 <br>Error 122 error BK1506 : cannot open file '.\debug_remote_dag\pcap-
new.sbr': No such file or directory BSCMAKE <br>Error 217 fatal error LNK1104: cannot open file 'wpcap.lib' rpcapd <br><br><br>However when I rebuilt it the warnings were gone but the errors kept the same...!
<br><br>Can somebody help me out on this please, I think I am getting some <br>thing simple wrong.<br><br>Thanks Ahead<br><br>Your support is very much appreciated<br><br>Xavier<br><br>