Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: please help me Pin
Dominik Reichl22-Mar-06 6:58
Dominik Reichl22-Mar-06 6:58 
QuestionNotification when a shared file is closed by other program Pin
bgsommerfeld22-Mar-06 4:58
bgsommerfeld22-Mar-06 4:58 
AnswerRe: Notification when a shared file is closed by other program Pin
Chris Meech22-Mar-06 7:05
Chris Meech22-Mar-06 7:05 
Questionvc.net(1.1) Pin
pankajgarg1222-Mar-06 4:06
pankajgarg1222-Mar-06 4:06 
AnswerRe: vc.net(1.1) Pin
toxcct22-Mar-06 4:09
toxcct22-Mar-06 4:09 
AnswerRe: vc.net(1.1) Pin
Dominik Reichl22-Mar-06 7:01
Dominik Reichl22-Mar-06 7:01 
Questionstructs in c++ Pin
pplshero5422-Mar-06 3:57
pplshero5422-Mar-06 3:57 
AnswerRe: structs in c++ Pin
toxcct22-Mar-06 4:07
toxcct22-Mar-06 4:07 
AnswerRe: structs in c++ Pin
Michael Dunn22-Mar-06 5:33
sitebuilderMichael Dunn22-Mar-06 5:33 
Questionwhat should be the salary of an exp vc++ sw developer Pin
vmmk22-Mar-06 3:22
vmmk22-Mar-06 3:22 
AnswerRe: what should be the salary of an exp vc++ sw developer Pin
toxcct22-Mar-06 4:11
toxcct22-Mar-06 4:11 
GeneralRe: what should be the salary of an exp vc++ sw developer Pin
Waldermort22-Mar-06 4:16
Waldermort22-Mar-06 4:16 

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.