Did you put include statements in your code? I'm not sure how the link
functionality works, but I've always (for the few times I used C/C++) used
include preprocessing instructions..
-Troy
newtontroy@...
>From: "Paul Coleman" <Paul.Coleman@...>
>Reply-To: webvb@yahoogroups.com
>To: <webvb@yahoogroups.com>
>Subject: RE: [webvb] could u help me with ping
>Date: Thu, 2 Aug 2001 21:12:59 -0400
>MIME-Version: 1.0
>Received: from [216.115.96.76] by hotmail.com (3.2) with ESMTP id
>MHotMailBD33451D001A400438E3D873604C5426351; Thu, 02 Aug 2001 18:13:10
>-0700
>Received: from [10.1.4.53] by fg.egroups.com with NNFMP; 03 Aug 2001
>01:13:06 -0000
>Received: (EGP: mail-7_2_0); 3 Aug 2001 01:13:05 -0000
>Received: (qmail 92162 invoked from network); 3 Aug 2001 01:13:04 -0000
>Received: from unknown (10.1.10.142) by l7.egroups.com with QMQP; 3 Aug
>2001 01:13:04 -0000
>Received: from unknown (HELO webterminator28.CRYSTALTECH.COM)
>(216.119.106.29) by mta3 with SMTP; 3 Aug 2001 01:13:04 -0000
>Received: from lobster [63.112.159.57] by webterminator28.CRYSTALTECH.COM
>(SMTPD32-6.06) id AAA417C01BC; Thu, 02 Aug 2001 18:13:08 -0700
>From sentto-1187910-54-996801186-newtontroy Thu, 02 Aug 2001 18:14:34 -0700
>X-eGroups-Return:
>sentto-1187910-54-996801186-newtontroy=hotmail.com@returns.onelist.com
>X-Sender: Paul.Coleman@...
>X-Apparently-To: webvb@yahoogroups.com
>Message-ID: <LNBBJLGJFNBLDODAEMILIEKBNAAA.Paul.Coleman@...>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
>Importance: Normal
>In-Reply-To: <20010802133015.7345.qmail@...>
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>Mailing-List: list webvb@yahoogroups.com; contact
>webvb-owner@yahoogroups.com
>Delivered-To: mailing list webvb@yahoogroups.com
>Precedence: bulk
>List-Unsubscribe: <mailto:webvb-unsubscribe@yahoogroups.com>
>
>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
>
>
> 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
>
> Yahoo! Groups Sponsor
>
> www.nissandriven.com
>
>
> 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.
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp