Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Enumerating MFU Programs Pin
rajeevktripathi9-Apr-06 18:25
rajeevktripathi9-Apr-06 18:25 
QuestionShellExecute problem Pin
QuickDeveloper7-Apr-06 19:46
QuickDeveloper7-Apr-06 19:46 
AnswerRe: ShellExecute problem Pin
includeh107-Apr-06 20:10
includeh107-Apr-06 20:10 
GeneralRe: ShellExecute problem Pin
QuickDeveloper7-Apr-06 20:24
QuickDeveloper7-Apr-06 20:24 
GeneralRe: ShellExecute problem Pin
Hamid_RT7-Apr-06 21:09
Hamid_RT7-Apr-06 21:09 
GeneralRe: ShellExecute problem Pin
QuickDeveloper7-Apr-06 22:30
QuickDeveloper7-Apr-06 22:30 
GeneralRe: ShellExecute problem Pin
Hamid_RT7-Apr-06 22:50
Hamid_RT7-Apr-06 22:50 
AnswerRe: ShellExecute problem Pin
Matt Godbolt8-Apr-06 1:12
Matt Godbolt8-Apr-06 1:12 
If you just want to check if the IP address itself is a valid IPV4 address, you can use:
unsigned long ip = inet_addr("10.37.8.4");
if (ip == INADDR_NONE)
{
    // The IP didn't parse as a valid address.
}
else
{
    // The IP parsed, and its network-order address has been placed into the 32-bit variable 'ip'
}

inet_addr() is to dotted quads what gethostbyname() is for host names.

Matt Godbolt
Engineer, ProFactor Software
StyleManager project
AnswerRe: ShellExecute problem Pin
Michael Dunn8-Apr-06 12:19
sitebuilderMichael Dunn8-Apr-06 12:19 
AnswerRe: ShellExecute problem Pin
Gary R. Wheeler8-Apr-06 12:50
Gary R. Wheeler8-Apr-06 12:50 
Questionabout VSS Pin
FlyWithYou7-Apr-06 19:25
FlyWithYou7-Apr-06 19:25 
Questionsearching files Pin
RabiaAslam7-Apr-06 18:09
RabiaAslam7-Apr-06 18:09 
AnswerRe: searching files Pin
Hamid_RT7-Apr-06 18:45
Hamid_RT7-Apr-06 18:45 
AnswerRe: searching files Pin
Aqueel7-Apr-06 19:10
Aqueel7-Apr-06 19:10 
GeneralRe: searching files Pin
RabiaAslam8-Apr-06 0:00
RabiaAslam8-Apr-06 0:00 
GeneralRe: searching files Pin
Hamid_RT8-Apr-06 1:49
Hamid_RT8-Apr-06 1:49 
AnswerRe: searching files Pin
ThatsAlok7-Apr-06 19:38
ThatsAlok7-Apr-06 19:38 
AnswerRe: searching files Pin
ThatsAlok7-Apr-06 19:40
ThatsAlok7-Apr-06 19:40 
AnswerRe: searching files Pin
Hamid_RT7-Apr-06 19:45
Hamid_RT7-Apr-06 19:45 
AnswerRe: searching files Pin
Aqueel7-Apr-06 19:59
Aqueel7-Apr-06 19:59 
QuestionBalanced Binary Trees Pin
TranscendentalSoftware7-Apr-06 17:39
TranscendentalSoftware7-Apr-06 17:39 
AnswerRe: Balanced Binary Trees Pin
El Corazon7-Apr-06 20:09
El Corazon7-Apr-06 20:09 
GeneralRe: Balanced Binary Trees Pin
TranscendentalSoftware7-Apr-06 20:21
TranscendentalSoftware7-Apr-06 20:21 
GeneralRe: Balanced Binary Trees Pin
Blake Miller10-Apr-06 5:15
Blake Miller10-Apr-06 5:15 
QuestionCAsyncSocket Question Pin
JBAK_CP7-Apr-06 14:30
JBAK_CP7-Apr-06 14:30 

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.