Hi, >What do you mean by "It does not work"? When I call the function PacketOpenAdapter I get an error every time (with the static lib). But with the DLL the function works.
>Remember that winpcap is not only some DLLs (packet.dll and wpcap.dll). It >uses also a kernel driver to sniff packets (npf.sys or npf.vxd), which >cannot be statically linked to a program. Oh yes, I didn't remember this. But it should be possible to use only exe (compiled with static lib) and the kernel driver ? Thanks Eric. _________________________________________________________________ Rejoignez MSN Hotmail, le plus important service de messagerie http://www.hotmail.com/fr
