-
August 9th, 2005, 05:25 AM
#1
fatal error LNK1120: 2 unresolved externals
hi i m new in vc++ enviroment i have an problem arrived
i have a code of udpdump which capture a packet from network and show but it is in dot c extension class i have rewrite this code in vc soo i made object of class udpdump and use in my another program
but it had 2 error when i make a header files and source file for this class can anyone help me i required a urgent response
the error which occur when i compile the code r
1-- UdpDum1.obj : error LNK2001: unresolved external symbol "struct pcap * __cdecl pcap_open(char const *,int,int,int,struct pcap_rmtauth *,char *)" (?pcap_open@@YAPAUpcap@@PBDHHHPAUpcap_rmtauth@@PAD@Z)
2--UdpDum1.obj : error LNK2001: unresolved external symbol "int __cdecl pcap_findalldevs_ex(char *,struct pcap_rmtauth *,struct pcap_if * *,char *)" (?pcap_findalldevs_ex@@YAHPADPAUpcap_rmtauth@@PAPAUpcap_if@@0@Z)
3--Debug/TestPacketCapturing.exe : fatal error LNK1120: 2 unresolved externals
will any body tell me the reason and solution of that error ???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|