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&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\fad-win32.c&nbsp;&nbsp;&nbsp; 86&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\fad-
win32.c&nbsp;&nbsp;&nbsp; 250&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 11&nbsp;&nbsp;&nbsp; warning C4146: unary minus operator applied to unsigned type, result still unsigned&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\gencode.c&nbsp;&nbsp;&nbsp; 104&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp; warning C4146: unary minus operator applied to unsigned type, result still unsigned&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\gencode.c&nbsp;&nbsp;&nbsp; 104&nbsp;&nbsp;&nbsp; 
<br>Warning&nbsp;&nbsp;&nbsp; 14&nbsp;&nbsp;&nbsp; warning C4996: &#39;_vsnprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\gencode.c&nbsp;&nbsp;&nbsp; 120&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 23&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\inet.c&nbsp;&nbsp;&nbsp; 196&nbsp;&nbsp;&nbsp; 
<br>  Warning&nbsp;&nbsp;&nbsp; 47&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\pcap-win32.c&nbsp;&nbsp;&nbsp; 480&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 50&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\pcap-
win32.c&nbsp;&nbsp;&nbsp; 591&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 67&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\pcap.c&nbsp;&nbsp;&nbsp; 360&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 89&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\savefile.c&nbsp;&nbsp;&nbsp; 1130&nbsp;&nbsp;&nbsp; 
<br>Warning&nbsp;&nbsp;&nbsp; 124&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\rpcapd\daemon.c&nbsp;&nbsp;&nbsp; 548&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 150&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\pcap-
new.c&nbsp;&nbsp;&nbsp; 312&nbsp;&nbsp;&nbsp; <br>Warning&nbsp;&nbsp;&nbsp; 201&nbsp;&nbsp;&nbsp; warning C4996: &#39;_snprintf&#39; was declared deprecated&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\wpcap\libpcap\pcap-remote.c&nbsp;&nbsp;&nbsp; 159&nbsp;&nbsp;&nbsp; <br><br><br>And Errors<br><br> Error&nbsp;&nbsp;&nbsp; 119&nbsp;&nbsp;&nbsp; fatal error C1083: Cannot open include file: &#39;
airpcap.h&#39;: No such file or directory&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\common\packet32.h&nbsp;&nbsp;&nbsp; 53&nbsp;&nbsp;&nbsp; <br>Error&nbsp;&nbsp;&nbsp; 120&nbsp;&nbsp;&nbsp; fatal error C1083: Cannot open include file: &#39;airpcap.h&#39;: No such file or directory&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\common\packet32.h&nbsp;&nbsp;&nbsp; 53&nbsp;&nbsp;&nbsp; 
<br>Error&nbsp;&nbsp;&nbsp; 121&nbsp;&nbsp;&nbsp; fatal error C1083: Cannot open include file: &#39;airpcap.h&#39;: No such file or directory&nbsp;&nbsp;&nbsp; d:\winpcap\winpcap\common\packet32.h&nbsp;&nbsp;&nbsp; 53&nbsp;&nbsp;&nbsp; <br>Error&nbsp;&nbsp;&nbsp; 122&nbsp;&nbsp;&nbsp; error BK1506 : cannot open file &#39;.\debug_remote_dag\pcap-
new.sbr&#39;: No such file or directory&nbsp;&nbsp;&nbsp; BSCMAKE&nbsp;&nbsp;&nbsp; <br>Error&nbsp;&nbsp;&nbsp; 217&nbsp;&nbsp;&nbsp; fatal error LNK1104: cannot open file &#39;wpcap.lib&#39;&nbsp;&nbsp;&nbsp; rpcapd&nbsp;&nbsp;&nbsp; <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>