Originally posted by: A
Does any body know how to get notification when the network cable is disconnected?
ReplyOriginally posted by: Luis Catarino
Strange error
Linking...
iphlpapi.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x382267b6
Error executing link.exe.
Originally posted by: Jim S
There's a minor leak caused by the app, and I liked this sample app so much, I thought I'd try to fix it.
I'd rather just post my changed .zip file, even though these changes are quite minor. I'm going to check back on my post, here, hoping that some one will enlighten me on the proper procedure this site uses for posting amendments. I know there is one, but haven't dug it out.
According to my feedback from the VC++ 7.0 IDE, I seem to have fixed the leak. Here are my additions, //1. thru //3...
// 1.
// 3.
Thanks for posting this interesting and useful example!
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
PIP_ADAPTER_INFO pinfo=NULL,
last_pinfo = NULL; // added 1/26/2003 JAS
// 2.
void CViewAdapterInfoDlg::GetInfo()
{
if (pinfo!=NULL)
delete (pinfo);
unsigned long nError;
// added 3 lines 1/26/2003 JAS
delete pinfo;
pinfo = new IP_ADAPTER_INFO;
len = sizeof(IP_ADAPTER_INFO);
nError = GetAdaptersInfo(pinfo, &len);
if (nError==0)
//................
void CViewAdapterInfoDlg::ParseData()
{
.................
// added 1 line 1/26/2003 JAS
::last_pinfo = pinfo;
pinfo = pinfo->Next;
Originally posted by: ranjith
plz send me mstcpip.h ,lib files for my graduation project
Originally posted by: Waleed
You forget or delete Iphlpapi.h needed for the program can you append or send it
ReplyOriginally posted by: paul anil
It return 00s. Any way to get the MAC address on NT?
ReplyOriginally posted by: alex
i found GetAdaptersInfo( ) return ERROR_NOT_SUPPORTED on my
Win98. The version of iphlpapi.dll on Win2k is 5.00.2173, and version of dll file on Win98 is 5.00.1952
i am not sure who made mistake: me, MSDN or someone else.
Now, i think it may be lib file's fault because i copy the iphlpapi.lib from PLATFORM-SDK installed to Win2k to another
Win98 host to link executable file.
Is it my fault?
Reply
Originally posted by: Nguyen Thanh Phong
try to change the order of includes directory in options menu:-))))
ViewAdapterInfoDlg.cpp
e:\microsoft sdk\include\iphlpapi.h(183) : error C2065: 'PMIB_ICMP_EX' : undeclared identifier
e:\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats'
e:\microsoft sdk\include\iphlpapi.h(183) : warning C4229: anachronism used : modifiers on data are ignored
e:\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')'
Generating Code...
Originally posted by: Help Me
ViewAdapterInfoDlg.cpp
e:\microsoft sdk\include\iphlpapi.h(183) : error C2065: 'PMIB_ICMP_EX' : undeclared identifier
e:\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats'
e:\microsoft sdk\include\iphlpapi.h(183) : warning C4229: anachronism used : modifiers on data are ignored
e:\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')'
Generating Code...
Reply
Originally posted by: Arun
Some of the functions like GetAdaptersInfo, IpAddressRelease, IpAddressRenew work on Win 2k,XP,98 but fail on Win NT 4.0, SP 6.0.
I would like to know if there are any subsitute api calls
or work around for the same on Win NT 4.0, SP 6.0 ?