Click here to Skip to main content
15,896,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I produce a report ... Pin
Qadddd5-Jan-04 12:13
Qadddd5-Jan-04 12:13 
AnswerRe: How can I produce a report ... Pin
Jörgen Sigvardsson5-Jan-04 12:49
Jörgen Sigvardsson5-Jan-04 12:49 
GeneralRe: How can I produce a report ... Pin
Qadddd5-Jan-04 22:20
Qadddd5-Jan-04 22:20 
GeneralRe: How can I produce a report ... Pin
Jörgen Sigvardsson5-Jan-04 23:47
Jörgen Sigvardsson5-Jan-04 23:47 
GeneralRe: How can I produce a report ... Pin
Qadddd16-Feb-04 13:00
Qadddd16-Feb-04 13:00 
GeneralProper organization of .cpp and .h files. Pin
blackmesa5-Jan-04 11:59
blackmesa5-Jan-04 11:59 
GeneralRe: Proper organization of .cpp and .h files. Pin
Jörgen Sigvardsson5-Jan-04 12:51
Jörgen Sigvardsson5-Jan-04 12:51 
Generalproblem with gethostbyaddr Pin
Chernobog15-Jan-04 11:47
Chernobog15-Jan-04 11:47 
Hi, ive got this problem :
when i use this everything is ok :

LPHOSTENT hostent;
hostent = gethostbyname("localhost");

but with this :

LPHOSTENT hostent;
CString strIP="127.0.0.1"
hostent = gethostbyaddr (strIP,strIP.GetLength (),AF_INET);

i cant connect to the server (of course it does the same with other adresses then localhost Smile | :)
Can u tell me plz what im doing wrong ? And the third para in gethostbyadd. Does it have to be always AF_INET or there are some choices?
Thx in Advance.

GeneralRe: problem with gethostbyaddr Pin
Jörgen Sigvardsson6-Jan-04 0:15
Jörgen Sigvardsson6-Jan-04 0:15 
GeneralRe: problem with gethostbyaddr Pin
David Crow6-Jan-04 5:07
David Crow6-Jan-04 5:07 
GeneralRe: problem with gethostbyaddr Pin
Chernobog17-Jan-04 12:22
Chernobog17-Jan-04 12:22 
GeneralNewbie C++ question Pin
Anonymous5-Jan-04 11:26
Anonymous5-Jan-04 11:26 
GeneralRe: Newbie C++ question Pin
Ian Darling5-Jan-04 11:43
Ian Darling5-Jan-04 11:43 
GeneralRe: Newbie C++ question Pin
Jörgen Sigvardsson5-Jan-04 12:53
Jörgen Sigvardsson5-Jan-04 12:53 
GeneralRe: Newbie C++ question Pin
David Crow6-Jan-04 5:16
David Crow6-Jan-04 5:16 
GeneralNewbie C++ question Pin
Anonymous5-Jan-04 11:25
Anonymous5-Jan-04 11:25 
QuestionHow to monitor file operations Pin
shaomin5-Jan-04 10:37
shaomin5-Jan-04 10:37 
AnswerRe: How to monitor file operations Pin
Ravi Bhavnani5-Jan-04 11:48
professionalRavi Bhavnani5-Jan-04 11:48 
GeneralRe: How to monitor file operations Pin
shaomin8-Jan-04 12:55
shaomin8-Jan-04 12:55 
GeneralCalling UpdateData(FALSE) will screw my RadioButton-group selection Pin
andreir235-Jan-04 9:33
andreir235-Jan-04 9:33 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
abc8765-Jan-04 10:05
abc8765-Jan-04 10:05 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
David Crow5-Jan-04 10:13
David Crow5-Jan-04 10:13 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
andreir235-Jan-04 11:17
andreir235-Jan-04 11:17 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
abc8765-Jan-04 20:20
abc8765-Jan-04 20:20 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
Nick Hodapp5-Jan-04 10:27
sitebuilderNick Hodapp5-Jan-04 10:27 

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.