[Winpcap-users] LNK2019: Unresolved external symbol _pcap_close
Kevin Miles
kevin.miles at delgaldo.co.uk
Fri Sep 7 13:20:37 GMT 2007
MSVC++ is mangling the name and adding a leading underscore. The workaround
is to link in the library wpcap.lib which seems to map the underscored names
to the 'real' ones. (Thanks to Bryan Kadzban who told me this.)
Kevin.
On 07 September 2007 12:55 winpcap-users-bounces at winpcap.org <> wrote:
> Hi,
>
>
>
> I using VS2006 to compile the capture example.
>
> I am getting: LNK2019: Unresolved external symbol
> _pcap_close
>
>
>
> I have worked through the section Using WinPcap in
> your programs.
>
>
>
> Any ideas?
>
>
>
> Cheers,
>
> Craig
>
>
>
>
>
>
> __________________________________________________________________
> __________________ Sick of deleting your inbox? Yahoo!7 Mail has free
> unlimited storage. http://au.docs.yahoo.com/mail/unlimitedstorage.html
>
> _______________________________________________
> 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