Click here to Skip to main content
16,005,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: hide dos windows Pin
Stephen Hewitt20-Mar-07 19:30
Stephen Hewitt20-Mar-07 19:30 
GeneralRe: hide dos windows Pin
deeps_cute20-Mar-07 19:42
deeps_cute20-Mar-07 19:42 
AnswerRe: hide dos windows Pin
prasad_som20-Mar-07 19:51
prasad_som20-Mar-07 19:51 
GeneralRe: hide dos windows Pin
Stephen Hewitt20-Mar-07 19:51
Stephen Hewitt20-Mar-07 19:51 
QuestionEffect of one Dialog event to other Dialogs Pin
amitmistry_petlad 20-Mar-07 18:19
amitmistry_petlad 20-Mar-07 18:19 
AnswerRe: Effect of one Dialog event to other Dialogs Pin
ThatsAlok20-Mar-07 19:35
ThatsAlok20-Mar-07 19:35 
GeneralRe: Effect of one Dialog event to other Dialogs Pin
amitmistry_petlad 20-Mar-07 20:56
amitmistry_petlad 20-Mar-07 20:56 
QuestionPPP vs. Ethernet network adapters Pin
Taka Muraoka20-Mar-07 16:39
Taka Muraoka20-Mar-07 16:39 
I'm using GetIfTable() to find out what network adapters are on a PC and generally it works fine. However, I get some odd results on a few customers' computers.

Normally I get back an array of MIB_IFROW structures, whose dwIndex member are numbered sequentially, starting from 1. For example, on a PC with two network cards I get back something that looks like this:
dwIndex = 1 ; dwType = MIB_IF_TYPE_LOOPBACK
dwIndex = 2 ; dwType = MIB_IF_TYPE_ETHERNET
dwIndex = 3 ; dwType = MIB_IF_TYPE_ETHERNET
However, some customers are getting this:
dwIndex = 1 ; dwType = MIB_IF_TYPE_LOOPBACK
dwIndex = 0x00020003 ; dwType = MIB_IF_TYPE_PPP
Anyone know what exactly this kind of network adapter is and why it's not identifying itself as MIB_IF_TYPE_ETHERNET?

My understanding of PPP was never real hot but AFAICT, it's a data link layer protocol and so can be used instead of Ethernet (although there is a hack that lets PPP be simulated over an Ethernet network). What common scenarios are out there where people would be running PPP instead of Ethernet?

And why does this guy's adapter have the weird dwIndex. It's almost like it's trying to shove 2 cards into the one MIB_IFROW record Smile | :)




0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall.

Awasu 2.2.5 [^]: A free RSS/Atom feed reader with support for Code Project. 50% discount on the paid editions for CP members!

AnswerRe: PPP vs. Ethernet network adapters Pin
cp987620-Mar-07 17:15
cp987620-Mar-07 17:15 
GeneralRe: PPP vs. Ethernet network adapters Pin
Taka Muraoka20-Mar-07 17:46
Taka Muraoka20-Mar-07 17:46 
GeneralRe: PPP vs. Ethernet network adapters Pin
cp987620-Mar-07 18:46
cp987620-Mar-07 18:46 
QuestionNeed help with manipulating negative fractions Pin
dragon53220-Mar-07 16:24
dragon53220-Mar-07 16:24 
AnswerRe: Need help with manipulating negative fractions Pin
cp987620-Mar-07 17:27
cp987620-Mar-07 17:27 
AnswerRe: Need help with manipulating negative fractions Pin
dragon53222-Mar-07 10:18
dragon53222-Mar-07 10:18 
QuestionMessage Removed Pin
20-Mar-07 16:08
Armond Sarkisian20-Mar-07 16:08 
AnswerRe: Beginner MFC Question Pin
David Crow20-Mar-07 16:27
David Crow20-Mar-07 16:27 
AnswerRe: Beginner MFC Question Pin
ThatsAlok20-Mar-07 21:04
ThatsAlok20-Mar-07 21:04 
QuestionCustom Window Messages Pin
x87Bliss20-Mar-07 15:59
x87Bliss20-Mar-07 15:59 
AnswerRe: Custom Window Messages Pin
Mark Salsbery20-Mar-07 16:23
Mark Salsbery20-Mar-07 16:23 
GeneralRe: Custom Window Messages Pin
ppp00120-Mar-07 16:37
ppp00120-Mar-07 16:37 
GeneralRe: Custom Window Messages Pin
Mark Salsbery20-Mar-07 16:40
Mark Salsbery20-Mar-07 16:40 
AnswerRe: Custom Window Messages Pin
Roger Stoltz20-Mar-07 21:57
Roger Stoltz20-Mar-07 21:57 
QuestionMessage Removed Pin
20-Mar-07 13:46
Armond Sarkisian20-Mar-07 13:46 
AnswerRe: CString Conversion Pin
Michael Dunn20-Mar-07 15:47
sitebuilderMichael Dunn20-Mar-07 15:47 
QuestionApplication Crash Pin
AAKAra20-Mar-07 9:00
AAKAra20-Mar-07 9:00 

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.