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

C / C++ / MFC

 
GeneralCRichEditCtrl and Dialog App Pin
Matt Newman28-Jan-02 15:18
Matt Newman28-Jan-02 15:18 
GeneralRe: CRichEditCtrl and Dialog App Pin
Matt Gullett28-Jan-02 15:43
Matt Gullett28-Jan-02 15:43 
GeneralRe: CRichEditCtrl and Dialog App Pin
Matt Newman28-Jan-02 16:28
Matt Newman28-Jan-02 16:28 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak28-Jan-02 22:47
Mazdak28-Jan-02 22:47 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak28-Jan-02 22:52
Mazdak28-Jan-02 22:52 
GeneralRe: CRichEditCtrl and Dialog App Pin
Braulio Dez29-Jan-02 0:24
Braulio Dez29-Jan-02 0:24 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak29-Jan-02 18:22
Mazdak29-Jan-02 18:22 
GeneralParsing IP Addresses and Domain Names Pin
Jean Louis28-Jan-02 15:15
Jean Louis28-Jan-02 15:15 
Hi guys,

In my MFC application, I'm using an IRC layer to make remote machines connecting into a group and exchanging data.
I send some WHO commands in order to get the addresses of the remote machines.
Sometimes, the IRC server replies with an IP Address (123.123.123.123) and sometimes with a Domain Name (this.is.my.domain) but never both. I store the result into a string. I need to get both IP Address and Domain Name, or at least the IP Address if the Domain Name is not accessible.
How do I:
- detect if the format I get is an IP Address or a Domain Name,
- convert an IP Address to a Domain Name,
- convert a Domain Name to an IP Address.

Thanks a lot in advance for your help... Smile | :)
Jean-Louis

GeneralRe: Parsing IP Addresses and Domain Names Pin
markkuk28-Jan-02 19:41
markkuk28-Jan-02 19:41 
GeneralRe: Parsing IP Addresses and Domain Names Pin
Jean Louis29-Jan-02 6:50
Jean Louis29-Jan-02 6:50 
Questionimplement button on docking Dialogbar? Pin
28-Jan-02 13:45
suss28-Jan-02 13:45 
AnswerRe: implement button on docking Dialogbar? Pin
Fredrik Skog28-Jan-02 20:16
Fredrik Skog28-Jan-02 20:16 
GeneralThanks Pin
29-Jan-02 3:23
suss29-Jan-02 3:23 
Generalnmake problem Pin
28-Jan-02 11:48
suss28-Jan-02 11:48 
GeneralRe: nmake problem Pin
Derek Waters28-Jan-02 13:17
Derek Waters28-Jan-02 13:17 
GeneralActiveX as a parent of modeless dialog Pin
Ruslan28-Jan-02 11:19
Ruslan28-Jan-02 11:19 
GeneralCFile accessDenied Pin
HomeNuke28-Jan-02 11:12
HomeNuke28-Jan-02 11:12 
GeneralRe: CFile accessDenied Pin
Philip Patrick28-Jan-02 11:19
professionalPhilip Patrick28-Jan-02 11:19 
GeneralRe: CFile accessDenied Pin
HomeNuke28-Jan-02 11:28
HomeNuke28-Jan-02 11:28 
GeneralRe: CFile accessDenied Pin
Philip Patrick28-Jan-02 11:45
professionalPhilip Patrick28-Jan-02 11:45 
GeneralRe: CFile accessDenied Pin
HomeNuke28-Jan-02 12:10
HomeNuke28-Jan-02 12:10 
GeneralRe: CFile accessDenied Pin
Philip Patrick28-Jan-02 12:24
professionalPhilip Patrick28-Jan-02 12:24 
Generaladding bitmaps to dialogbar buttons Pin
murd28-Jan-02 11:03
murd28-Jan-02 11:03 
GeneralRe: adding bitmaps to dialogbar buttons Pin
Fredrik Skog28-Jan-02 20:04
Fredrik Skog28-Jan-02 20:04 
GeneralNon-overlapping child windows in a non-SDI/MDI application.. Pin
28-Jan-02 10:38
suss28-Jan-02 10:38 

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.