Click here to Skip to main content
15,881,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: heap question Pin
Mike Beckerleg6-Jan-04 2:39
Mike Beckerleg6-Jan-04 2:39 
GeneralControlling the recording control microphone Pin
Anonymous4-Jan-04 20:06
Anonymous4-Jan-04 20:06 
GeneralEXE on DOS and win32 Pin
pranavamhari4-Jan-04 19:54
pranavamhari4-Jan-04 19:54 
GeneralRe: EXE on DOS and win32 Pin
abc8764-Jan-04 20:06
abc8764-Jan-04 20:06 
GeneralRe: EXE on DOS and win32 Pin
Rickard Andersson205-Jan-04 2:55
Rickard Andersson205-Jan-04 2:55 
Generalgethostbyname failed in Window XP Pin
lauch24-Jan-04 19:34
lauch24-Jan-04 19:34 
GeneralRe: gethostbyname failed in Window XP Pin
Roger Wright4-Jan-04 20:42
professionalRoger Wright4-Jan-04 20:42 
GeneralRe: gethostbyname failed in Window XP Pin
lauch24-Jan-04 21:31
lauch24-Jan-04 21:31 
Thanks, Roger Wright.
Then, if I unplug the cable, how can I retrieve the IP address of the local machine?
I have used the following ways, but all they are failed:
1. Use API getaddrinfo()
2. Use API GetAdaptersAddresses()
3. Use INTRFC.exe sample, which in turn use the API WSAIoctl(s,
SIO_GET_INTERFACE_LIST, NULL, 0, &localAddr, sizeof(localAddr),
&bytesReturned, NULL, NULL);

In addition, I know the IP addresses are stored in the regitry. However, I want to use other ways to IP addresses if the cable is unpluged.

thx,
lauch.
GeneralCPropertySheet failing to create Pin
Kibble4-Jan-04 18:41
Kibble4-Jan-04 18:41 
GeneralRe: CPropertySheet failing to create Pin
valikac5-Jan-04 4:53
valikac5-Jan-04 4:53 
Generali learn c++ Pin
than naing nge4-Jan-04 18:35
sussthan naing nge4-Jan-04 18:35 
GeneralRe: i learn c++ Pin
Selvam R4-Jan-04 18:47
professionalSelvam R4-Jan-04 18:47 
GeneralRe: i learn c++ Pin
abc8764-Jan-04 20:03
abc8764-Jan-04 20:03 
GeneralRe: i learn c++ Pin
jhwurmbach4-Jan-04 21:54
jhwurmbach4-Jan-04 21:54 
GeneralRe: i learn c++ Pin
Balkrishna Talele4-Jan-04 23:48
Balkrishna Talele4-Jan-04 23:48 
Generalcompliler cannot open 'include file' Pin
mapledrops4-Jan-04 18:06
sussmapledrops4-Jan-04 18:06 
GeneralRe: compliler cannot open 'include file' Pin
Selvam R4-Jan-04 18:52
professionalSelvam R4-Jan-04 18:52 
Generalcompliler cannot open 'include file' Pin
Anonymous4-Jan-04 18:04
Anonymous4-Jan-04 18:04 
GeneralRe: compliler cannot open 'include file' Pin
abc8764-Jan-04 19:58
abc8764-Jan-04 19:58 
QuestionWhat functions are there to read from files? Pin
obe4-Jan-04 11:31
obe4-Jan-04 11:31 
AnswerRe: What functions are there to read from files? Pin
alex.barylski4-Jan-04 16:38
alex.barylski4-Jan-04 16:38 
GeneralRe: What functions are there to read from files? Pin
obe4-Jan-04 19:23
obe4-Jan-04 19:23 
AnswerRe: What functions are there to read from files? Pin
abc8764-Jan-04 19:54
abc8764-Jan-04 19:54 
GeneralThanks, but I would like to know which SYSTEM-LEVEL functions Pin
obe4-Jan-04 21:34
obe4-Jan-04 21:34 
GeneralRe: Thanks, but I would like to know which SYSTEM-LEVEL functions Pin
jan larsen6-Jan-04 2:00
jan larsen6-Jan-04 2: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.