Hi,
This does not look like Visual Basic. I don't think I can help here. Any C++ programmers out there?
Paul Coleman
-----Original Message-----
From: amit srivastava [mailto:ami_sri@...]
Sent: Thursday, August 02, 2001 9:30 AM
To: winsock2@yahoogroups.com; webvb@yahoogroups.com
Subject: [webvb] could u help me with ping
From: amit srivastava [mailto:ami_sri@...]
Sent: Thursday, August 02, 2001 9:30 AM
To: winsock2@yahoogroups.com; webvb@yahoogroups.com
Subject: [webvb] could u help me with ping
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
Visit:
WebVB at http://www.CoSeCo.com/WebVB
Free Web Stuff at http://www.CoSeCo.com/WebStuff
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.