Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: code to run sample.exe program? Pin
Hamid_RT22-Mar-06 17:32
Hamid_RT22-Mar-06 17:32 
AnswerRe: code to run sample.exe program? Pin
_AnsHUMAN_ 22-Mar-06 20:45
_AnsHUMAN_ 22-Mar-06 20:45 
QuestionError spawning 'cmd.exe' Pin
Tugbay Sahin22-Mar-06 10:50
Tugbay Sahin22-Mar-06 10:50 
QuestionCan not open Database Connection using CDatabase Pin
nhuythanh22-Mar-06 10:42
nhuythanh22-Mar-06 10:42 
QuestionIncrementing enums Pin
hint_5422-Mar-06 10:10
hint_5422-Mar-06 10:10 
AnswerRe: Incrementing enums Pin
valikac22-Mar-06 10:39
valikac22-Mar-06 10:39 
AnswerRe: Incrementing enums Pin
Bob Flynn22-Mar-06 10:45
Bob Flynn22-Mar-06 10:45 
GeneralRe: Incrementing enums Pin
hint_5423-Mar-06 4:17
hint_5423-Mar-06 4:17 
AnswerRe: Incrementing enums Pin
Aqueel22-Mar-06 17:16
Aqueel22-Mar-06 17:16 
GeneralRe: Incrementing enums Pin
hint_5423-Mar-06 4:20
hint_5423-Mar-06 4:20 
AnswerRe: Incrementing enums Pin
oustar22-Mar-06 18:55
oustar22-Mar-06 18:55 
GeneralRe: Incrementing enums Pin
hint_5423-Mar-06 4:19
hint_5423-Mar-06 4:19 
QuestionReading INF file Pin
pgibson00770022-Mar-06 9:42
pgibson00770022-Mar-06 9:42 
QuestionHow do I implement a custom tag? Pin
dude_445316922-Mar-06 8:27
dude_445316922-Mar-06 8:27 
AnswerRe: How do I implement a custom tag? Pin
Michael Dunn22-Mar-06 9:01
sitebuilderMichael Dunn22-Mar-06 9:01 
GeneralRe: How do I implement a custom tag? Pin
dude_445316924-Mar-06 9:54
dude_445316924-Mar-06 9:54 
QuestionHow to Declare Pointer to Structure Global? Pin
fambi_mail22-Mar-06 8:22
fambi_mail22-Mar-06 8:22 
QuestionPOSTing binary data with HTTPS through wininet... Pin
dandy7222-Mar-06 8:22
dandy7222-Mar-06 8:22 
AnswerRe: POSTing binary data with HTTPS through wininet... Pin
MF22-Mar-06 16:12
MF22-Mar-06 16:12 
GeneralRe: POSTing binary data with HTTPS through wininet... Pin
dandy7223-Mar-06 2:43
dandy7223-Mar-06 2:43 
> You should have a custom header. eg Content-Length:
>
> HttpSendRequest will not generate the content-length for you.

Are you sure about this? I'm not setting a content-length header, and in HTTP mode, my packet sniffer (Ethereal) shows that a Content-Length header has indeed been generated, with the length I specified in HttpSendRequest()'s dwOptionalLength parameter. The file gets there and a binary comparison shows that it's identical to the one I sent.

I just need to do the same with HTTPS. I'm not sure why the header would be required in this case but not the former. Regardless, I tried to do it explicitely with HttpAddRequestHeaders(), and got the exact same results...

-- modified at 8:44 Thursday 23rd March, 2006
GeneralRe: POSTing binary data with HTTPS through wininet... Pin
dandy7223-Mar-06 4:16
dandy7223-Mar-06 4:16 
QuestionControling MS Communications Control? Pin
pavanbabut22-Mar-06 6:12
pavanbabut22-Mar-06 6:12 
QuestionOverlapped RS232 crash problem Pin
Battikaa22-Mar-06 5:49
Battikaa22-Mar-06 5:49 
AnswerRe: Overlapped RS232 crash problem Pin
Battikaa25-Apr-06 5:56
Battikaa25-Apr-06 5:56 
Questionplease help me Pin
dSolariuM22-Mar-06 5:26
dSolariuM22-Mar-06 5:26 

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.