WinIPCfg
Posted
by Erik Gawtry
on November 1st, 2005
Windows NT 4.0 had WIPCfg32.exe, and Windows 95/98/ME had WinIPCfg.exe. For some reason, this utility was removed from Windows 2000/XP. This program is a clone of WinIPCfg.exe, written for Windows XP. For those of you who are unfamiliar with WinIPCfg, it looks like this:

Comments
gateway problem
Posted by mlt2005 on 12/21/2005 11:59amHello, On WinMe the gateway is not displayed, but on Win XP it is. Do you know why? Thanks.
-
Replyupdate
Posted by mlt2005 on 12/21/2005 12:10pmActually the gateway is not displayed for a wireless adapter, but using the winipcfg original application it is displayed.
ReplyException on WinXP (SP1a)
Posted by Manni HV on 11/03/2005 10:32amThe utility runs great on W2k, but generates an exception on XP at startup.
-
-
-
-
-
ReplyRe: Update
Posted by egawtry on 03/22/2006 07:17pmI just updated it. As soon as it is reviewed, it will be posted.
ReplyException on XP SP1
Posted by GLykos on 03/22/2006 12:59pmGreetings! You mentioned that you were going to revise the code and repost it - did that happen? Thanks. P.S. Error signature on XP SP1, FYI: AppName: winipcfg.exe AppVer: 1.1.0.0 ModName: winipcfg.exe ModVer: 1.1.0.0 Offset: 000030f3
ReplyRe: Exception on W2K
Posted by egawtry on 11/09/2005 12:19pmGreat! That explains it. I will update the code and get it reposted. Thanks.
ReplyException on Win2000
Posted by mpauley1955 on 11/09/2005 09:24amI also got an exception on startup, but running Win 2000. The problem seems to be when you have multiple adapters. In the CWinIPCfgDlg::GetNICs routine you use GetAdaptersInfo() to load a buffer with the adapter info, then load the combobox item data with it. You step through the returned data as if it were an array: // Add each entry to the combobox for(int i = 0; i < nCount; ++i) { CString sName = pIPAI[i].Description; m_cbNetCard.AddString(sName); m_cbNetCard.SetItemData(i, (DWORD_PTR)&pIPAI[i]); } but it is actually a linked list. I changed it to this: // pIPAI is a pointer to a linked list of IP_ADAPTER_INFO structures. // The last valid one has it's "Next" member set to NULL. // Just walk the chain... int i; while ( pIPAI != NULL ) { CString sName = pIPAI->Description; i = m_cbNetCard.AddString(sName); m_cbNetCard.SetItemData(i, (DWORD_PTR)pIPAI); pIPAI = pIPAI->Next; } and it works fine now.ReplyRe: Exception
Posted by egawtry on 11/03/2005 01:52pmCan you give me more details? I have dozens of users on the networks that I support using this right now. If there is an issue, I would like to figure it out.
Reply???!!!
Posted by voyager2 on 11/02/2005 03:51pmuse ipconfig /all ipconfig /renew ipconfig /release or better ipconfig /?
-
ReplyRe: ???!!!
Posted by egawtry on 11/03/2005 01:50pmThis is for those of us that don't use command line (most of the users I support).
Reply