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

C / C++ / MFC

 
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 
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 
So find out what went wrong.

try
{
    cerr << "Starting\n";
    CInternetSession *pInetSession = new CInternetSession;
    cerr << "Got session\n";
    CFtpConnection *pFtpConn = 
    pInetSession->GetFtpConnection(servername);
    cerr << "Got connection\n";
    while (true);
}
catch (CInternetException* e)
{
    TCHAR err [1024];
    e->GetErrorMessage(err, 1024);
    cerr << "Big ol' uh-oh: " << err << endl;
    e->Delete();
}


--
I've killed again, haven't I?

-- modified at 14:15 Thursday 5th January, 2006
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 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 16:46
StarMeteor5-Jan-06 16:46 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 16:56
pavanbabut5-Jan-06 16:56 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 17:54
StarMeteor5-Jan-06 17:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 18:00
pavanbabut5-Jan-06 18:00 

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.