如何在VS2012项目中使用WinPcap [英] How do I use WinPcap in a VS2012 project

查看:221
本文介绍了如何在VS2012项目中使用WinPcap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我必须做一个可以管理网络中不同类型数据包的项目,我无法找到如何使用WinPcap在我的Visual Studio 2012项目中(我老师告诉我的空CLR项目)。



有人可以解释从开始执行此操作的所有步骤吗?我会非常乐于助人。通过所有步骤,我的意思是从我必须下载的WinPcap版本开始,直到项目正确链接到WinPcap库。



我在Viqual Studio 2012中使用C ++ ,我的操作系统架构是Winbdows 8 x64。



谢谢你的帮助:)

Hi everybody,

I have to do a project which can manage different types of packets in a network, and I can't find out how to use WinPcap in my Visual Studio 2012 project (empty CLR project as my teacher told me).

Can someone explain all the steps to do it from the beggining ? I'll be very helpful. By all the steps I mean start from which version of WinPcap I have to download, until the project correctly linked to WinPcap libary.

I work in C++ in Viqual Studio 2012, my OS architecture is Winbdows 8 x64.

Thank you for you help :)

推荐答案

参见 http://www.winpcap.org/ [ ^ ]。


包含头文件..

包含项目中的lib ..

然后享受使用winpcap

请看这里

http://www.winpcap.org/docs/docs_412/html/group__wpcapsamps.html [ ^ ]
include the header files..
contains the lib in you project..
then enjoy using winpcap
look at here
http://www.winpcap.org/docs/docs_412/html/group__wpcapsamps.html[^]


这篇关于如何在VS2012项目中使用WinPcap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆