Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CList Pin
perlmunger21-May-02 5:43
perlmunger21-May-02 5:43 
GeneralRe: CList Pin
Mazdak21-May-02 6:01
Mazdak21-May-02 6:01 
Generalextern "C" Pin
21-May-02 5:26
suss21-May-02 5:26 
GeneralRe: extern "C" Pin
Paul M Watt21-May-02 5:30
mentorPaul M Watt21-May-02 5:30 
Questionhow using PTSTR type? Pin
a_hic21-May-02 4:55
a_hic21-May-02 4:55 
AnswerRe: how using PTSTR type? Pin
James R. Twine21-May-02 5:16
James R. Twine21-May-02 5:16 
GeneralDialUp/LAN Question (Beginner ?) Pin
21-May-02 4:45
suss21-May-02 4:45 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Joaquín M López Muñoz21-May-02 4:53
Joaquín M López Muñoz21-May-02 4:53 
1. Lee Hamel's article Retrieving NIC information using SNMP queries gives you the means to retrieve the list of IP interfaces installed on the machine. Please note interfaces can coexist both for LAN and Dial-up.

2. For LAN interfaces, there's no easy way to know if the machine is actually connected (meaning by that that the cable is plugged in.) There's a way to do it in Win2000, but the thing is messy. As for Dial-up interfaces, simply check whether the IP address is valid: when not connected, it is 0.0.0.0.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
21-May-02 5:10
suss21-May-02 5:10 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Martin Ziacek21-May-02 5:17
Martin Ziacek21-May-02 5:17 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Nish Nishant21-May-02 4:59
sitebuilderNish Nishant21-May-02 4:59 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
21-May-02 14:07
suss21-May-02 14:07 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
21-May-02 23:33
suss21-May-02 23:33 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Nish Nishant21-May-02 23:46
sitebuilderNish Nishant21-May-02 23:46 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
22-May-02 0:02
suss22-May-02 0:02 
GeneralChange the caption in PropertyPage Pin
Eugene Pustovoyt21-May-02 4:40
Eugene Pustovoyt21-May-02 4:40 
GeneralRe: Change the caption in PropertyPage Pin
Martin Ziacek21-May-02 4:48
Martin Ziacek21-May-02 4:48 
GeneralRe: Change the caption in PropertyPage Pin
Eugene Pustovoyt21-May-02 5:15
Eugene Pustovoyt21-May-02 5:15 
GeneralConnecting to DB2 using VC++ 6.0 Pin
Shayna21-May-02 4:34
Shayna21-May-02 4:34 
GeneralRe: Connecting to DB2 using VC++ 6.0 Pin
Bill Wilson21-May-02 5:46
Bill Wilson21-May-02 5:46 
GeneralRe: Connecting to DB2 using VC++ 6.0 Pin
Shayna21-May-02 11:05
Shayna21-May-02 11:05 
GeneralRe: Connecting to DB2 using VC++ 6.0 Pin
Bill Wilson21-May-02 11:43
Bill Wilson21-May-02 11:43 
GeneralRe: Connecting to DB2 using VC++ 6.0 Pin
markkuk21-May-02 20:23
markkuk21-May-02 20:23 
GeneralTesting File Existence Pin
Srini Kella21-May-02 4:26
Srini Kella21-May-02 4:26 
GeneralRe: Testing File Existence Pin
Doug Joseph21-May-02 4:34
Doug Joseph21-May-02 4:34 

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.