Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to submit information from an application? Pin
kevincwong5-Jan-06 8:47
kevincwong5-Jan-06 8:47 
AnswerRe: How to submit information from an application? Pin
Office Lineman5-Jan-06 9:19
Office Lineman5-Jan-06 9:19 
GeneralRe: How to submit information from an application? Pin
kevincwong6-Jan-06 11:50
kevincwong6-Jan-06 11:50 
GeneralRe: How to submit information from an application? Pin
Office Lineman6-Jan-06 12:19
Office Lineman6-Jan-06 12:19 
GeneralRe: How to submit information from an application? Pin
kevincwong6-Jan-06 19:15
kevincwong6-Jan-06 19:15 
QuestionDate Time Control Pin
LCI5-Jan-06 8:30
LCI5-Jan-06 8:30 
AnswerRe: Date Time Control Pin
Office Lineman5-Jan-06 8:54
Office Lineman5-Jan-06 8:54 
QuestionCFtpConnection trouble Pin
Anacreon5-Jan-06 7:44
Anacreon5-Jan-06 7:44 
I am having some trouble on one machine, with an application written using CFtpConnection. I narrowed it down in a test program to a Cmd Prompt app that has the following code inside its tmain():

cerr << "Starting\n";
CInternetSession *pInetSession = new CInternetSession;
cerr << "Got session\n";
CFtpConnection *pFtpConn =
pInetSession->GetFtpConnection(servername);
cerr << "Got connection\n";
while (true);

On the control PC this program does what's expected -- prints the three lines and then hangs (if servername is a valid machine name) or prints two lines and exits with an "Abnormal termination" message (if servername is not valid). On the machine where I'm having trouble, regardless of servername the program will print two lines and then exit with no status message. Could WININET have some kind of corruption? Everything was working fine on this computer until this morning and I can't see what changed in the mean time. I can run ftp from the prompt and establish a connection fine. Any ideas? I am tearing my hair out here.

Thanks
AnswerRe: CFtpConnection trouble Pin
David Crow5-Jan-06 7:55
David Crow5-Jan-06 7:55 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 8:01
Anacreon5-Jan-06 8:01 
GeneralRe: CFtpConnection trouble Pin
David Crow5-Jan-06 8:10
David Crow5-Jan-06 8:10 
AnswerRe: CFtpConnection trouble Pin
Office Lineman5-Jan-06 8:14
Office Lineman5-Jan-06 8:14 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 8:27
Anacreon5-Jan-06 8:27 
AnswerRe: CFtpConnection trouble Pin
Anacreon6-Jan-06 3:53
Anacreon6-Jan-06 3:53 
QuestionSound Capture Pin
rajeev825-Jan-06 5:57
rajeev825-Jan-06 5:57 
QuestionHelp in closing main application from child window Pin
pavanbabut5-Jan-06 5:48
pavanbabut5-Jan-06 5:48 
AnswerRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 6:27
Blake Miller5-Jan-06 6:27 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 9:43
pavanbabut5-Jan-06 9:43 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 9:54
Blake Miller5-Jan-06 9:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 10:33
pavanbabut5-Jan-06 10:33 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 11:02
Blake Miller5-Jan-06 11:02 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:10
pavanbabut5-Jan-06 12:10 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 12:26
Blake Miller5-Jan-06 12:26 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:43
pavanbabut5-Jan-06 12:43 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:59
pavanbabut5-Jan-06 12:59 

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.