🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12978

Linker Errors for function IcmpCreateFile()

#12978
From: Maurice Anderson
Date: Sat, 01 Nov 2003 22:42
17 lines
1438 bytes
Hello, I want to use the IcmpCreateFile() function.  In the MSDN
documentation it says to:

Header: Declared in icmpapi.h.
Library: Use iphlpapi.lib.

Both of which I use in my project.

I have also included "icmpapi.h" which contains the reference to the
IcmpCreateFile function and "icmp.lib" which I obtained from running implib
on c:\winnt\system32\icmp.dll.  Nevertheless, I still receive linker errors
that say:

"[Linker Error] Unresolved external '__stdcall IcmpCreateFile()' referenced
from .."

Any help would be greatly appreciated.
Technical Details
Message-ID: <3fa4360c$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,15d4a0587b1f4f22,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-01 15:09:06 PST
From: "Maurice Anderson" <mauriceanderson@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Linker Errors for function IcmpCreateFile()
Date: Sat, 1 Nov 2003 14:42:37 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 64.30.203.223
Message-ID: <3fa4360c$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067726348 64.30.203.223 (1 Nov 2003 14:39:08 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail