Click here to Skip to main content
16,005,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GDI problem Pin
Mark Salsbery30-Sep-07 6:56
Mark Salsbery30-Sep-07 6:56 
Questionlock file Pin
rishimohan28-Sep-07 20:09
rishimohan28-Sep-07 20:09 
AnswerRe: lock file Pin
Hamid_RT29-Sep-07 0:36
Hamid_RT29-Sep-07 0:36 
Questionget file properties Pin
revanth198528-Sep-07 19:50
revanth198528-Sep-07 19:50 
AnswerRe: get file properties Pin
rishimohan28-Sep-07 19:55
rishimohan28-Sep-07 19:55 
AnswerRe: get file properties Pin
Hamid_RT28-Sep-07 20:13
Hamid_RT28-Sep-07 20:13 
QuestionHTTP Post / CHttpFile returning non recognizable characters Pin
cmsell28-Sep-07 17:41
cmsell28-Sep-07 17:41 
AnswerRe: HTTP Post / CHttpFile returning non recognizable characters Pin
Randor 29-Sep-07 2:43
professional Randor 29-Sep-07 2:43 
In accordance with W3C HTTP/1.1 standards, HTTP does not always necessarily respond in plain text. You are probably recieving a gzip compressed stream from the webserver.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[^]

Try removing "Accept-Encoding: compress, gzip" from the headers you are sending. If the webserver is compliant it should assume you do not accept compressed streams. On the other hand if the webserver ignores you and continues to send gzip compressed streams then you can possibly link with the zlib library to decompress the stream manually.

There may be a more simple method of decoding the stream but unfortunately this is not my area of expertise. Perhaps someome with greater knowledge with the CInternetSession and derivitive classes will respond.

Hope this helps,
-Randor (David Delaune)
GeneralRe: HTTP Post / CHttpFile returning non recognizable characters Pin
cmsell29-Sep-07 5:52
cmsell29-Sep-07 5:52 
QuestionHow to take first character from edit box text and add it to list box? Pin
freebird7371728-Sep-07 14:11
freebird7371728-Sep-07 14:11 
AnswerRe: How to take first character from edit box text and add it to list box? Pin
Mark Salsbery28-Sep-07 15:03
Mark Salsbery28-Sep-07 15:03 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
freebird7371728-Sep-07 18:05
freebird7371728-Sep-07 18:05 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
Hamid_RT28-Sep-07 19:41
Hamid_RT28-Sep-07 19:41 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
Mark Salsbery28-Sep-07 21:02
Mark Salsbery28-Sep-07 21:02 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
freebird7371729-Sep-07 7:08
freebird7371729-Sep-07 7:08 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
Mark Salsbery29-Sep-07 7:49
Mark Salsbery29-Sep-07 7:49 
GeneralRe: How to take first character from edit box text and add it to list box? Pin
freebird7371729-Sep-07 8:22
freebird7371729-Sep-07 8:22 
QuestionHelp on extracting/importing e-mail from outlook express? Pin
ankoump28-Sep-07 10:51
ankoump28-Sep-07 10:51 
AnswerRe: Help on extracting/importing e-mail from outlook express? Pin
Sameerkumar Namdeo28-Sep-07 17:55
Sameerkumar Namdeo28-Sep-07 17:55 
QuestionC data structure question Pin
tjohnson197028-Sep-07 10:11
tjohnson197028-Sep-07 10:11 
AnswerRe: C data structure question Pin
Waldermort28-Sep-07 14:27
Waldermort28-Sep-07 14:27 
AnswerRe: C data structure question Pin
Neo Andreson30-Sep-07 18:42
Neo Andreson30-Sep-07 18:42 
QuestionSending asynchronous IOCTL from user to kernel Pin
Shay Harel28-Sep-07 9:58
Shay Harel28-Sep-07 9:58 
AnswerRe: Sending asynchronous IOCTL from user to kernel Pin
JudyL_MD28-Sep-07 10:06
JudyL_MD28-Sep-07 10:06 
QuestionCompletely novice to Visual Studio Pin
Aloha200728-Sep-07 9:51
Aloha200728-Sep-07 9:51 

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.