[Winpcap-users] how can I compile static libs for using pcap in my project?

Troy Pierce mqx at low-axs.net
Tue Nov 7 20:55:02 GMT 2006


Bryan Kadzban schrieb:
> Annie W. wrote:
>> There have to be a way to compile static libs from the current 
>> version of winpcap.
> 
> There is a way to make packet.dll and wpcap.dll static: rebuild them as
> such.  You just sacrifice the ability to *do* anything, since all the
> stuff in wpcap.dll requires packet.dll, and all the stuff in packet.dll
> requires the kernel driver.  And the kernel driver won't exist without
> the full winpcap installation.
> 
> This is the Really Important part of Gianluca's response:
> 
>> It includes (among other things) a kernel driver that cannot be 
>> transformed to a static library.
> 
> There is *no* *way* on Windows to make a kernel driver part of a static
> library.  (Or a DLL, for that matter.)  If the kernel driver is
> required, then it's hard to get anything done without it.
> 
> (This makes me wonder how winpcap-pro even works, but that's not all
> that important here either.)

The website of winpcap-pro said it.. *IMO*
It install the driver and copy all the needed dll's when the program 
start and delete/uninstall them when closing.

You don't need to restart after installing winpcap.

just a idea

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



More information about the Winpcap-users mailing list