Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create process & IE Pin
_Flaviu13-Feb-12 9:30
_Flaviu13-Feb-12 9:30 
QuestionRe: Create process & IE Pin
David Crow13-Feb-12 10:52
David Crow13-Feb-12 10:52 
AnswerRe: Create process & IE Pin
Chuck O'Toole13-Feb-12 13:29
Chuck O'Toole13-Feb-12 13:29 
GeneralRe: Create process & IE Pin
_Flaviu13-Feb-12 19:38
_Flaviu13-Feb-12 19:38 
GeneralRe: Create process & IE Pin
Jochen Arndt13-Feb-12 21:23
professionalJochen Arndt13-Feb-12 21:23 
AnswerRe: Create process & IE Pin
Chuck O'Toole13-Feb-12 23:49
Chuck O'Toole13-Feb-12 23:49 
GeneralRe: Create process & IE Pin
_Flaviu15-Feb-12 19:41
_Flaviu15-Feb-12 19:41 
AnswerRe: Create process & IE Pin
Chuck O'Toole16-Feb-12 4:35
Chuck O'Toole16-Feb-12 4:35 
Well, I don't do it that way. There are a number of curious things in your code.

First, you do an InternetSendRequest() with null pointers and 0 lengths. While that may be syntactically OK, I have no idea what you think that does nor why you are doing it.

2nd, you don't user InternerReadFile() to get the results of your attempts so if there were any error messages, you've discarded them. If you want to know what's wrong, those messages might have helped.

Third, your URL with parameters looks like a "Get" request (the default "verb" for HttpOpenRequest() is "GET") and I use this form mostly for "POST" requests. For "GET", I would use "InternetOpenURL()"

The sequence there would be

InternetOpen()
InternetOpenURL()
HttpQueryInfo()
InternetReadFile()

Don't throw away the output this time.

PS, did you check to see if the server received the request? Just how do you know it did nothing?
QuestionTCP/IP socket timeout per connection Pin
vikramlinux13-Feb-12 4:17
vikramlinux13-Feb-12 4:17 
AnswerRe: TCP/IP socket timeout per connection Pin
Albert Holguin13-Feb-12 4:38
professionalAlbert Holguin13-Feb-12 4:38 
GeneralRe: TCP/IP socket timeout per connection Pin
vikramlinux13-Feb-12 4:44
vikramlinux13-Feb-12 4:44 
GeneralRe: TCP/IP socket timeout per connection Pin
Albert Holguin13-Feb-12 6:22
professionalAlbert Holguin13-Feb-12 6:22 
GeneralRe: TCP/IP socket timeout per connection Pin
vikramlinux13-Feb-12 22:27
vikramlinux13-Feb-12 22:27 
QuestionHow to re-use the replace() function to replace different strings in the same file ? Pin
Faez Shingeri13-Feb-12 0:12
Faez Shingeri13-Feb-12 0:12 
AnswerRe: How to re-use the replace() function to replace different strings in the same file ? Pin
Luc Pattyn13-Feb-12 2:36
sitebuilderLuc Pattyn13-Feb-12 2:36 
GeneralRe: How to re-use the replace() function to replace different strings in the same file ? Pin
David Crow13-Feb-12 2:43
David Crow13-Feb-12 2:43 
GeneralRe: How to re-use the replace() function to replace different strings in the same file ? Pin
Faez Shingeri13-Feb-12 18:33
Faez Shingeri13-Feb-12 18:33 
GeneralRe: How to re-use the replace() function to replace different strings in the same file ? Pin
David Crow14-Feb-12 3:13
David Crow14-Feb-12 3:13 
GeneralRe: How to re-use the replace() function to replace different strings in the same file ? Pin
Faez Shingeri14-Feb-12 16:58
Faez Shingeri14-Feb-12 16:58 
QuestionRe: How to re-use the replace() function to replace different strings in the same file ? Pin
David Crow15-Feb-12 3:01
David Crow15-Feb-12 3:01 
QuestionWrite a C/C++ program that connects to a MySQL server and displays the global TIMEZONE Pin
manmadkumarreddy12-Feb-12 7:50
manmadkumarreddy12-Feb-12 7:50 
AnswerRe: Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE Pin
Richard Andrew x6412-Feb-12 7:55
professionalRichard Andrew x6412-Feb-12 7:55 
AnswerRe: Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE Pin
Richard MacCutchan12-Feb-12 8:12
mveRichard MacCutchan12-Feb-12 8:12 
AnswerRe: Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE Pin
Mohibur Rashid12-Feb-12 18:04
professionalMohibur Rashid12-Feb-12 18:04 
AnswerRe: Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE Pin
Wes Aday13-Feb-12 3:03
professionalWes Aday13-Feb-12 3:03 

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.