Hi
I am trying to write a little DLL in Visual C 6, just as a "wrapper" to call winpcap from Visual Basic.
I have some problems, because some of the examples in the developers pack (like "pcap_filter") compile fine, my code not, but I don't understand how to fix...
Compiling...
StdAfx.cpp
Compiling...
twpcap.cpp
Linking...
Creating library Debug/twpcap.lib and object Debug/twpcap.exp
twpcap.obj : error LNK2001: unresolved external symbol "struct pcap * __cdecl pcap_open(char const *,int,int,int,struct pcap_rmtauth *,char *)"
twpcap.obj : error LNK2001: unresolved external symbol "int __cdecl pcap_createsrcstr(char *,int,char const *,char const *,char const *,char *)"
Debug/twpcap.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
twpcap.dll - 3 error(s), 0 warning(s)
If any C expert could spend 5 minutes, I can email the source code.
Please let me know if posting the code to the list is annoying (about 30 lines long).
ciao, Massimo
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
