Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFTP: InternetOpen() Pin
bkelly1329-Jul-08 8:12
bkelly1329-Jul-08 8:12 
AnswerRe: FTP: InternetOpen() Pin
led mike29-Jul-08 8:22
led mike29-Jul-08 8:22 
GeneralRe: FTP: InternetOpen() Pin
bkelly1329-Jul-08 9:54
bkelly1329-Jul-08 9:54 
QuestionRe: FTP: InternetOpen() Pin
Mark Salsbery29-Jul-08 10:05
Mark Salsbery29-Jul-08 10:05 
QuestionRe: FTP: InternetOpen() Pin
led mike29-Jul-08 10:12
led mike29-Jul-08 10:12 
AnswerRe: FTP: InternetOpen() Pin
bkelly1330-Jul-08 6:39
bkelly1330-Jul-08 6:39 
GeneralRe: FTP: InternetOpen() Pin
led mike30-Jul-08 7:43
led mike30-Jul-08 7:43 
GeneralRe: FTP: InternetOpen() Pin
Mark Salsbery30-Jul-08 7:48
Mark Salsbery30-Jul-08 7:48 
I'm not sure how you got a return value of 0 from GetLastError()
when InternetConnect() failed...I get

12029
ERROR_INTERNET_CANNOT_CONNECT
The attempt to connect to the server failed.


For those missing parameters...

dwFlags: There's only one for FTP (INTERNET_FLAG_PASSIVE).
If you don't know what it does then passing 0 is fine.

dwContext: This value will get passed to any WinINET callbacks
you use for the handle acquired. If you're not doing any asynchronous
stuff, then NULL is fine. Typically (in C++) an object pointer is used
so the static callback function(s) have a pointer to an object which is
the context of the callback call.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionCDocument::Serialize Throwing exceptions for bad content Pin
bob1697229-Jul-08 7:38
bob1697229-Jul-08 7:38 
QuestionRe: CDocument::Serialize Throwing exceptions for bad content Pin
led mike29-Jul-08 7:48
led mike29-Jul-08 7:48 
AnswerRe: CDocument::Serialize Throwing exceptions for bad content Pin
bob1697229-Jul-08 7:54
bob1697229-Jul-08 7:54 
QuestionRIS implemetations Pin
vineeshV29-Jul-08 7:20
vineeshV29-Jul-08 7:20 
QuestionRe: RIS implemetations Pin
led mike29-Jul-08 7:48
led mike29-Jul-08 7:48 
QuestionAbout C++ Project (Please help, I am so worry about this) Pin
Aasia Naz29-Jul-08 6:40
Aasia Naz29-Jul-08 6:40 
GeneralRe: About C++ Project (Please help, I am so worry about this) Pin
Michael Schubert29-Jul-08 6:55
Michael Schubert29-Jul-08 6:55 
JokeRe: About C++ Project (Please help, I am so worry about this) Pin
CPallini29-Jul-08 7:08
mveCPallini29-Jul-08 7:08 
GeneralRe: About C++ Project (Please help, I am so worry about this) Pin
Rajesh R Subramanian30-Jul-08 22:59
professionalRajesh R Subramanian30-Jul-08 22:59 
GeneralRe: About C++ Project (Please help, I am so worry about this) Pin
CPallini30-Jul-08 23:20
mveCPallini30-Jul-08 23:20 
GeneralRe: About C++ Project (Please help, I am so worry about this) Pin
Rajesh R Subramanian30-Jul-08 23:27
professionalRajesh R Subramanian30-Jul-08 23:27 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
Chris Losinger29-Jul-08 7:05
professionalChris Losinger29-Jul-08 7:05 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
toxcct29-Jul-08 7:07
toxcct29-Jul-08 7:07 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
Rick York29-Jul-08 7:17
mveRick York29-Jul-08 7:17 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
Cedric Moonen29-Jul-08 7:34
Cedric Moonen29-Jul-08 7:34 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
killabyte29-Jul-08 12:24
killabyte29-Jul-08 12:24 
AnswerRe: About C++ Project (Please help, I am so worry about this) Pin
Hamid_RT29-Jul-08 22:48
Hamid_RT29-Jul-08 22:48 

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.