hi all,
i am writing a simple ping application using the
following calls
hIcmp = IcmpCreateFile(); // returns a handle to hIcmp
IcmpSendEcho(,,,,,,); // sends and receives request
IcmpCloseHandle(hIcmp); // closes the handle
now these require the icmp.dll, icmpapi.h & ipexport.h
i downloaded the two header files (icmpapi.h &
ipexport.h ) and included the icmp.dll by going to the
project->settings->link tab.
now while building this i get linker error saying
"Unresolved external Symbol"
error LNK2001: unresolved external symbol "int
__stdcall IcmpCloseHandle(void *)"
(?IcmpCloseHandle@@YGHPAX@Z)
error LNK2001: unresolved external symbol "unsigned
long __stdcall IcmpSendEcho(void *,unsigned long,void
*,unsigned short,struct ip_option_information *,void
*,unsigned long,unsigned long)"
(?IcmpSendEcho@@YGKPAXK0GPAUip_option_info
rmation@@0KK@Z)
error LNK2001: unresolved external symbol "void *
__stdcall IcmpCreateFile(void)"
(?IcmpCreateFile@@YGPAXXZ)
Can someone please help !!!
thanx a lot for the time you may spend
Regards
Amit Srivastava
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie