Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMSFlexgrid \ Dialog problem Pin
69 Bay17-Oct-05 5:27
69 Bay17-Oct-05 5:27 
Question_gcvt() format? Pin
george ivanov17-Oct-05 3:43
george ivanov17-Oct-05 3:43 
AnswerRe: _gcvt() format? Pin
toxcct17-Oct-05 3:46
toxcct17-Oct-05 3:46 
QuestionRe: _gcvt() format? Pin
David Crow17-Oct-05 4:29
David Crow17-Oct-05 4:29 
AnswerRe: _gcvt() format? Pin
toxcct17-Oct-05 4:46
toxcct17-Oct-05 4:46 
QuestionUsing GetAdaptersInfo() to find NIC's Pin
Taka Muraoka17-Oct-05 3:30
Taka Muraoka17-Oct-05 3:30 
AnswerRe: Using GetAdaptersInfo() to find NIC's Pin
cmk18-Oct-05 9:30
cmk18-Oct-05 9:30 
GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
Taka Muraoka18-Oct-05 9:48
Taka Muraoka18-Oct-05 9:48 
Thanks for the reply.

Unfortunately, VMware is doing a really good job of making its adapters look like the real thing. Both GetAdaptersInfo() and GetIfTable() are saying that they are MIB_IF_TYPE_ETHERNET *and* have physical addresses!

Here's some output from my GetAdaptersInfo() test:
ADAPTER: {E26A33D4-6C3E-4EDA-A5EA-AFF0C8102238}
- Description:  Broadcom 440x 10/100 Integrated Controller - Packet Scheduler Miniport
- Address:      0 d 56 b6 94 27 
- Index:        5
- Type:         6
- DHCP Enabled: 1
- DHCP Server:  192.168.6.254
- DHCP Lease:   obtained=4354e2af ; expires=435785af
- IP Addresses: 192.168.6.98
- Gateways:     192.168.6.254
- Have WINS:    0

ADAPTER: {B2B210F3-1513-42CA-AC6A-8B5A73EF0C4F}
- Description:  Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card - Packet Scheduler Miniport
- Address:      0 90 4b 6d f5 bc 
- Index:        4
- Type:         6
- DHCP Enabled: 1
- DHCP Server:  192.168.2.1
- DHCP Lease:   obtained=43546f6a ; expires=7fffffff
- IP Addresses: 0.0.0.0
- Gateways:     
- Have WINS:    0

ADAPTER: {EAC2B247-CC14-4EEE-854F-9437CBA9A50C}
- Description:  VMware Virtual Ethernet Adapter for VMnet1
- Address:      0 50 56 c0 0 1 
- Index:        3
- Type:         6
- DHCP Enabled: 0
- DHCP Server:  255.255.255.255
- DHCP Lease:   obtained=0 ; expires=0
- IP Addresses: 192.168.213.1
- Gateways:     
- Have WINS:    0

ADAPTER: {2AC6F23F-21B3-47C8-9ACE-C93DD40BBDB8}
- Description:  VMware Virtual Ethernet Adapter for VMnet8
- Address:      0 50 56 c0 0 8 
- Index:        2
- Type:         6
- DHCP Enabled: 0
- DHCP Server:  255.255.255.255
- DHCP Lease:   obtained=0 ; expires=0
- IP Addresses: 192.168.182.1
- Gateways:     
- Have WINS:    0


and GetIfTable():
Description:    Broadcom 440x 10/100 Integrated Controller - Packet Scheduler Miniport
- Type:         6
- Phys.Address: 0 d 56 b6 94 27 

Description:    Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card - Packet Scheduler Miniport
- Type:         6
- Phys.Address: 0 90 4b 6d f5 bc 

Description:    VMware Virtual Ethernet Adapter for VMnet1
- Type:         6
- Phys.Address: 0 50 56 c0 0 1 

Description:    VMware Virtual Ethernet Adapter for VMnet8
- Type:         6
- Phys.Address: 0 50 56 c0 0 8 

Description:    MS TCP Loopback interface
- Type:         18
- Phys.Address: 


Frown | :-(




The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison

Awasu 2.1.3 [^]: A free RSS reader with support for Code Project.

GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
cmk18-Oct-05 11:34
cmk18-Oct-05 11:34 
GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
Taka Muraoka18-Oct-05 18:13
Taka Muraoka18-Oct-05 18:13 
GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
cmk18-Oct-05 18:57
cmk18-Oct-05 18:57 
GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
cmk18-Oct-05 19:34
cmk18-Oct-05 19:34 
GeneralRe: Using GetAdaptersInfo() to find NIC's Pin
Taka Muraoka18-Oct-05 19:38
Taka Muraoka18-Oct-05 19:38 
Question.net and MFC ? Pin
Intertherain17-Oct-05 3:25
Intertherain17-Oct-05 3:25 
AnswerRe: .net and MFC ? Pin
Kevin McFarlane17-Oct-05 7:04
Kevin McFarlane17-Oct-05 7:04 
QuestionWPARAM, LPARAM, LRESULT, CALLBACK -??? does not make sense! Pin
kk_vp17-Oct-05 3:04
kk_vp17-Oct-05 3:04 
AnswerRe: WPARAM, LPARAM, LRESULT, CALLBACK -??? does not make sense! Pin
toxcct17-Oct-05 3:32
toxcct17-Oct-05 3:32 
AnswerRe: WPARAM, LPARAM, LRESULT, CALLBACK -??? does not make sense! Pin
ThatsAlok17-Oct-05 4:01
ThatsAlok17-Oct-05 4:01 
GeneralRe: WPARAM, LPARAM, LRESULT, CALLBACK -??? does not make sense! Pin
kk_vp17-Oct-05 4:56
kk_vp17-Oct-05 4:56 
GeneralRe: WPARAM, LPARAM, LRESULT, CALLBACK -??? does not make sense! Pin
Eytukan17-Oct-05 8:00
Eytukan17-Oct-05 8:00 
QuestionIDE question Pin
kreaThor17-Oct-05 2:59
kreaThor17-Oct-05 2:59 
AnswerRe: IDE question Pin
David Crow17-Oct-05 4:31
David Crow17-Oct-05 4:31 
AnswerRe: IDE question Pin
M.Mehrdad.M17-Oct-05 6:39
M.Mehrdad.M17-Oct-05 6:39 
QuestionHelp with Windows, C++, OpenSSL Pin
JaVinci17-Oct-05 0:51
JaVinci17-Oct-05 0:51 
AnswerRe: Help with Windows, C++, OpenSSL Pin
sunit517-Oct-05 3:58
sunit517-Oct-05 3:58 

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.