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

C / C++ / MFC

 
AnswerRe: increment operator is not executing when debug in release mode Pin
pallaka29-Jul-08 23:36
pallaka29-Jul-08 23:36 
GeneralRe: increment operator is not executing when debug in release mode Pin
sashoalm29-Jul-08 23:42
sashoalm29-Jul-08 23:42 
GeneralRe: increment operator is not executing when debug in release mode Pin
pallaka30-Jul-08 0:11
pallaka30-Jul-08 0:11 
GeneralRe: increment operator is not executing when debug in release mode Pin
sashoalm30-Jul-08 2:01
sashoalm30-Jul-08 2:01 
GeneralRe: increment operator is not executing when debug in release mode Pin
Mark Salsbery30-Jul-08 7:12
Mark Salsbery30-Jul-08 7:12 
QuestionFile transfer over UDP Pin
sunny_vc29-Jul-08 19:12
sunny_vc29-Jul-08 19:12 
AnswerRe: File transfer over UDP Pin
Mark Salsbery30-Jul-08 7:20
Mark Salsbery30-Jul-08 7:20 
QuestionFTP: InternetOpen() Pin
bkelly1329-Jul-08 8:12
bkelly1329-Jul-08 8:12 
I am trying to write a simple app to upload files via FTP. The first thing to do is call InterntOpen() to establish the connection. The description of the first argument is:

lpszAgent
Pointer to a null-terminated string that specifies the name of the application or entity calling the WinINet functions. This name is used as the user agent in the HTTP protocol.

What is this asking for? Should I use the name of the application I am writing? What is the string used for? In another place the descrption said:

lpszAgent Long pointer to a null-terminated string that contains the name of the application or entity calling the Internet functions (for example, Microsoft Internet Explorer). This name is used as the user agent in the HTTP protocol.

What am I supposed to enter here? Maybe "Microsoft Internet Explorer" That just does not seem right.

I found an example that used "InetURL/1.0" and it seems to compile, but a google search did not help. What is that and why should I use it?

Thanks for your time

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 
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 

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.