Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Track a Machine Pin
San26-Dec-01 22:34
San26-Dec-01 22:34 
GeneralMprAdminMIBEntryGet is failing!!!! Pin
Nish Nishant26-Dec-01 21:18
sitebuilderNish Nishant26-Dec-01 21:18 
QuestionHow to set proxy setting for IE Pin
Ibrar Ahmad26-Dec-01 20:13
Ibrar Ahmad26-Dec-01 20:13 
AnswerRe: How to set proxy setting for IE Pin
Nish Nishant26-Dec-01 20:24
sitebuilderNish Nishant26-Dec-01 20:24 
GeneralRe: How to set proxy setting for IE Pin
Ibrar Ahmad26-Dec-01 21:12
Ibrar Ahmad26-Dec-01 21:12 
GeneralRe: How to set proxy setting for IE Pin
Nish Nishant26-Dec-01 21:25
sitebuilderNish Nishant26-Dec-01 21:25 
GeneralHelp! Hook to change password in win9x Pin
Hendrik Kurniawan26-Dec-01 19:03
Hendrik Kurniawan26-Dec-01 19:03 
GeneralProblem :- GetIpAddrTable is failing!!!! Pin
Nish Nishant26-Dec-01 18:39
sitebuilderNish Nishant26-Dec-01 18:39 
Hello guys

I am trying to access the MAC-IP mapping tables.
This is my code snippet.

MIB_IPADDRTABLE m_MIB_IPADDRTABLE;
retval=GetIpAddrTable(&m_MIB_IPADDRTABLE,
	(PULONG)sizeof MIB_IPADDRTABLE, false);
if(retval==NO_ERROR)
{
cout << "Num of entries is " << m_MIB_IPADDRTABLE.dwNumEntries << "\r\n";
}
else
{
cout << "Function failed\r\n" ;
}
For some strange reason the function always fails.

Can someone throw some light on this whole mysterious affair?

Regards

Nish

Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
GeneralRe: Problem :- GetIpAddrTable is failing!!!! Pin
Michael Dunn26-Dec-01 19:43
sitebuilderMichael Dunn26-Dec-01 19:43 
GeneralRe: Problem :- GetIpAddrTable is failing!!!! Pin
Nish Nishant26-Dec-01 20:00
sitebuilderNish Nishant26-Dec-01 20:00 
GeneralStrange effects with bitwise operators Pin
26-Dec-01 11:47
suss26-Dec-01 11:47 
GeneralRe: Strange effects with bitwise operators Pin
Jim A. Johnson26-Dec-01 12:51
Jim A. Johnson26-Dec-01 12:51 
GeneralRe: Strange effects with bitwise operators Pin
Nish Nishant26-Dec-01 18:42
sitebuilderNish Nishant26-Dec-01 18:42 
GeneralRe: Strange effects with bitwise operators Pin
Andrew Peace26-Dec-01 12:56
Andrew Peace26-Dec-01 12:56 
GeneralHowTo initialize CFormView Pin
Semlo26-Dec-01 11:01
Semlo26-Dec-01 11:01 
GeneralRe: HowTo initialize CFormView Pin
Nemanja Trifunovic26-Dec-01 11:07
Nemanja Trifunovic26-Dec-01 11:07 
QuestionUINT 1 or 2 bytes? Pin
26-Dec-01 10:41
suss26-Dec-01 10:41 
AnswerRe: UINT 1 or 2 bytes? Pin
Tim Smith26-Dec-01 11:12
Tim Smith26-Dec-01 11:12 
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 11:52
suss26-Dec-01 11:52 
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 12:16
suss26-Dec-01 12:16 
GeneralRe: UINT 1 or 2 bytes? Pin
Sprudling26-Dec-01 17:12
Sprudling26-Dec-01 17:12 
AnswerRe: UINT 1 or 2 bytes? Pin
moliate27-Dec-01 19:13
moliate27-Dec-01 19:13 
QuestionUINT 1 or 2 bytes? Pin
26-Dec-01 10:38
suss26-Dec-01 10:38 
AnswerRe: UINT 1 or 2 bytes? Pin
Nemanja Trifunovic26-Dec-01 10:59
Nemanja Trifunovic26-Dec-01 10:59 
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 11:12
suss26-Dec-01 11:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.