Click here to Skip to main content
15,909,591 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArray inside CMap Pin
basementman20-Jun-03 4:35
basementman20-Jun-03 4:35 
GeneralRe: CArray inside CMap Pin
Ryan Binns20-Jun-03 4:42
Ryan Binns20-Jun-03 4:42 
GeneralGetting IP and Language Pin
xxhimanshu19-Jun-03 19:59
xxhimanshu19-Jun-03 19:59 
GeneralRe: Getting IP and Language Pin
Will Beattie19-Jun-03 23:48
Will Beattie19-Jun-03 23:48 
GeneralRe: Getting IP and Language Pin
xxhimanshu20-Jun-03 0:23
xxhimanshu20-Jun-03 0:23 
GeneralRe: Getting IP and Language Pin
Baris Kurtlutepe20-Jun-03 3:46
Baris Kurtlutepe20-Jun-03 3:46 
GeneralRe: Getting IP and Language Pin
xxhimanshu20-Jun-03 18:25
xxhimanshu20-Jun-03 18:25 
GeneralRe: Getting IP and Language Pin
Baris Kurtlutepe20-Jun-03 22:10
Baris Kurtlutepe20-Jun-03 22:10 
The only dependency is iphlpapi.lib which comes with Platform SDK I guess, you should download & install it if you haven't already done so. If it gives a linker error then that's the case, if not could you please paste the error lines?

When I run this on my computer I get two IP addresses, cause I have two ethernet adapters: one for my LAN and one for my cable connection to the Internet. Back to your question, a dialup adapter is a virtual adapter and thus if the ISP has assigned an IP to your computer via DHCP, you should get it in that loop as well. In your case, if the host computer has more than one IP address such as mine, you should have your own way of differentiating it from the other IP addresses, such as checking for the type of the adapter, looking for a name etc...

Sorry for the late response, I've been sleeping all day Blush | :O
GeneralRe: Getting IP and Language Pin
xxhimanshu20-Jun-03 22:27
xxhimanshu20-Jun-03 22:27 
GeneralRe: Getting IP and Language Pin
Baris Kurtlutepe20-Jun-03 23:21
Baris Kurtlutepe20-Jun-03 23:21 
GeneralUnhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Will Beattie19-Jun-03 19:32
Will Beattie19-Jun-03 19:32 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Ryan Binns19-Jun-03 21:16
Ryan Binns19-Jun-03 21:16 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Will Beattie19-Jun-03 22:37
Will Beattie19-Jun-03 22:37 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Ryan Binns19-Jun-03 22:44
Ryan Binns19-Jun-03 22:44 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Will Beattie19-Jun-03 23:29
Will Beattie19-Jun-03 23:29 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Ryan Binns19-Jun-03 23:37
Ryan Binns19-Jun-03 23:37 
GeneralRe: Unhandled Exception Using MFC Sockets in Visual C++ 6.0 Pin
Baris Kurtlutepe20-Jun-03 23:13
Baris Kurtlutepe20-Jun-03 23:13 
GeneralBitmap on a Button Pin
San19-Jun-03 19:19
San19-Jun-03 19:19 
GeneralRe: Bitmap on a Button Pin
valikac19-Jun-03 19:23
valikac19-Jun-03 19:23 
GeneralRe: Bitmap on a Button Pin
Rick York19-Jun-03 19:40
mveRick York19-Jun-03 19:40 
Questionhow can i use CString format the string like "12,123.23" thanks Pin
nodream19-Jun-03 18:33
nodream19-Jun-03 18:33 
AnswerRe: how can i use CString format the string like "12,123.23" thanks Pin
Nick Parker19-Jun-03 18:49
protectorNick Parker19-Jun-03 18:49 
GeneralSorry, that I want to receive is 12,345.12 Pin
nodream19-Jun-03 19:03
nodream19-Jun-03 19:03 
GeneralRe: Sorry, that I want to receive is 12,345.12 Pin
flob919-Jun-03 23:40
flob919-Jun-03 23:40 
GeneralRe: Sorry, that I want to receive is 12,345.12 Pin
basementman20-Jun-03 4:46
basementman20-Jun-03 4:46 

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.