我想检查是否可以成功加载 WinPCAP 的 dll,并希望通过编写一个简单的 C/C++ 控制台应用程序来完成。但是,我既没有经验,也没有关于如何做的想法。我所知道的是根据它的def文件:
LIBRARY Packet32
EXPORTS
PacketOpenAdapter
PacketSendPacket
PacketAllocatePacket
PacketInitPacket
PacketFreePacket
PacketResetAdapter
PacketReceivePacket
PacketCloseAdapter
PacketSetHwFilter
PacketGetAdapterNames
PacketRequest
PacketSetBuff
PacketSetBpf
PacketGetNetType
PacketSetReadTimeout
PacketSetNumWrites
PacketGetNetInfo
PacketSetMinToCopy
PacketSetMaxLookahead
PacketCancelPacket
PacketLoadDriver
PacketUnloadDriver
我一定在检查这些东西。但是怎么做?请你帮助我好吗?
此致