Re: GetExtendedTcpTable not available
- From: Del.Neves@xxxxxxxxx
- Date: 22 Feb 2006 22:50:26 -0800
I'm running XP Pro SP2 using Visual Studio .net 2003 Visual C++ with
Platform SDK Win2003 SP1.
I have also been trying without success to use the GetExtendedTcpTable.
I've modified iphlpapi.h to have to correct declaration(?) and also the
typedefs that go along with it, which should be there already.
My IpHlpApi.dll version is 5.1.2600.2180, I believe the latest.
This file was manually updated as even after installing the PSDK I had
a 5.0.something version which did not show as having XP iphlp functions
in it.
Looking at the iphlpapi.lib file from PSDK in notepad I see entries for
GetExtendedTcpTable as well as other XP specific funcs like
alloccateandgettcpextable.
Linker has been set (under Command Line & Additional Dependencies) to
include iphlpapi.lib from the SDK.
Program compiles fine but during linking I get this message:
ip2proc001.obj : error LNK2019: unresolved external symbol
_GetExtendedTcpTable referenced in function _main
Debug/ip2proc001.exe : fatal error LNK1120: 1 unresolved externals
Program compiles and links fine when using a func like GetTcpTable,
however the prog I'm writing is useless to me unless I have a port to
process mapping. I suppose I can try AllocateandGetTcpExTable
statically but if I'm getting tripped up on this I don't know I won't
encounter simliar probs. I have tried dynamically linking
AllocateandGetTcpExTable per Mark Russovich's netstatp example to no
avail.
Del
.
- References:
- GetExtendedTcpTable not available
- From: hasan . mahm
- Re: GetExtendedTcpTable not available
- From: Scherbina Vladimir
- Re: GetExtendedTcpTable not available
- From: hasan.mahm@xxxxxxxxx
- Re: GetExtendedTcpTable not available
- From: Scherbina Vladimir
- GetExtendedTcpTable not available
- Prev by Date: Re: Communication speed between blocking call and non blocking cal
- Next by Date: Re: UDP Socket slowdown when no DNS defined
- Previous by thread: Re: GetExtendedTcpTable not available
- Next by thread: Re: GetExtendedTcpTable not available
- Index(es):
Relevant Pages
|