Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Learning how to parse XML file in C++ Pin
David Crow27-Jul-05 3:04
David Crow27-Jul-05 3:04 
Questioncan we stop dialog from exiting when i click on red cross button? Pin
sayup26-Jul-05 21:56
sayup26-Jul-05 21:56 
AnswerRe: can we stop dialog from exiting when i click on red cross button? Pin
mark novak27-Jul-05 0:38
mark novak27-Jul-05 0:38 
AnswerRe: can we stop dialog from exiting when i click on red cross button? Pin
Stlan27-Jul-05 0:54
Stlan27-Jul-05 0:54 
GeneralRestarting an application from within the same application Pin
ledallam26-Jul-05 18:52
ledallam26-Jul-05 18:52 
GeneralRe: Restarting an application from within the same application Pin
GDavy26-Jul-05 20:02
GDavy26-Jul-05 20:02 
GeneralRe: Restarting an application from within the same application Pin
Smith#26-Jul-05 22:21
Smith#26-Jul-05 22:21 
GeneralRe: Restarting an application from within the same application Pin
Smith#26-Jul-05 22:22
Smith#26-Jul-05 22:22 
GeneralRe: Restarting an application from within the same application Pin
ledallam27-Jul-05 0:37
ledallam27-Jul-05 0:37 
GeneralRe: Restarting an application from within the same application Pin
David Crow27-Jul-05 3:07
David Crow27-Jul-05 3:07 
QuestionHow can I export a Dialog class in MFC regular Dll or Extension Dll? Pin
guiguizk26-Jul-05 18:43
guiguizk26-Jul-05 18:43 
AnswerRe: How can I export a Dialog class in MFC regular Dll or Extension Dll? Pin
GDavy26-Jul-05 20:08
GDavy26-Jul-05 20:08 
GeneralRe: How can I export a Dialog class in MFC regular Dll or Extension Dll? Pin
guiguizk26-Jul-05 20:47
guiguizk26-Jul-05 20:47 
Questionhow can i transprant a child dialog's background? Pin
SamSmithCn26-Jul-05 17:35
SamSmithCn26-Jul-05 17:35 
AnswerRe: how can i transprant a child dialog's background? Pin
mark novak27-Jul-05 0:33
mark novak27-Jul-05 0:33 
GeneralPath Name Pin
Veera Raghavendra26-Jul-05 17:23
Veera Raghavendra26-Jul-05 17:23 
GeneralRe: Path Name Pin
Bob Stanneveld26-Jul-05 23:14
Bob Stanneveld26-Jul-05 23:14 
GeneralRe: Path Name Pin
Veera Raghavendra26-Jul-05 23:16
Veera Raghavendra26-Jul-05 23:16 
GeneralRe: Path Name Pin
David Crow27-Jul-05 3:09
David Crow27-Jul-05 3:09 
GeneralRe: Path Name Pin
Toby Opferman27-Jul-05 14:28
Toby Opferman27-Jul-05 14:28 
GeneralLockFileEx Pin
Anonymous26-Jul-05 16:48
Anonymous26-Jul-05 16:48 
GeneralEnumerating NICs Pin
franji126-Jul-05 16:46
franji126-Jul-05 16:46 
(apologies if double post - I think I may have messed up) Shucks | :-\

If a PC has multiple NICs, with multiple protocol stacks (e.g. NOT just TCP/IP, but some have just IPX). I want to be able to iterate each NIC and get
1. its user given name (e.g. in XP it's called the "Network Connection" name)
2. Which protocol stack(s) are bound to it (e.g. TCP/IP, IPX, NetBios, et. al.)
3. Do this using C++ (MFC allowed, or just C with an API) on as many Windows OSes as possible (XP only is fine, but would like as many as possible Wink | ;)

I have found the IPHelper API, but that is only good for adapters that have TCP/IP bound to them, but I definitely need it for NICs without TCP/IP bound to them, i.e. IPX (I am truly only concerned with IPX and TCP/IP - the other protocols really don't matter, but wouldn't mind being able to see them).

I have also found WSAEnumProtocols, which lets you iterate protocols across all NICs, but I cannot figure out how to map a specific protocol stack instance back to the specific NIC (specifically to its user assigned name and its IPX network number and/or IP address).

Why isn't there TAPI-like interface for network adapters? I can iterate TAPI devices based on their capabilities (data, voice, can make a call, et.al.). I have found nothing like this for Network Adapters (NICs) in Win32. Laptops especially are coming with multiple NICs (a wireless and a 10/100 base-T), so allowing users to specify "which network" to use is becoming more important.

Won't you please, please help me?!?
GeneralRe: Enumerating NICs Pin
Ted Ferenc26-Jul-05 21:49
Ted Ferenc26-Jul-05 21:49 
Generalnot whats needed Re: Enumerating NICs Pin
franji127-Jul-05 2:04
franji127-Jul-05 2:04 
GeneralFile transfer thru bluetooth USB Pin
cheewooi26-Jul-05 13:27
cheewooi26-Jul-05 13:27 

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.