Massimo, did you compile the right version of winpcap? If you go to build->set active configuration, you find several projects. You are probably compiling the one without the new funtions.
Loris > -----Original Message----- > From: Massimo Sala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 29, 2004 10:56 AM > To: winpcap-users@winpcap.polito.it > Subject: [WinPcap-users] Re: Windows / Visual C: unresolved > external symbol pcap_open > > From: "Vasily Borovyak" <[EMAIL PROTECTED]> > > You forgot to link wpcap.lib probably. > > In VC6 Press Alt+F7. Choose "Link" tab. Add "wpcap.lib" to the > > "Object/library modules" edit box. > > > Vasily, thanks for your answer. > I check the reference, it is fine. > > It is a weird behaviour. > The deprecated functions work fine (line pcap_open_live, > pcap_findalldevs, ...). > > When I try to use the new wpcap functions, like pcap_open, > pcap_findalldevs_ex, ... > I still get "unresolved externals symbol". > > To be sure, I download again the latest > wpcapsrc_3_1_beta4.zip and wpdpack_3_1_beta4.zip. > > I note this: some of the new APIs are inside the file pcap-new.c. > This file hasn't an header and the APIs aren't listed inside > pcap.h ... > > > I feel there are some out of date or missing file. > > ciao, Massimo > > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/winpcap-users@winpcap.polito.it/ > > To unsubscribe use > mailto: [EMAIL PROTECTED] > ================================================================== > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@winpcap.polito.it/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================